Ensure CSS updates after deploy

This commit is contained in:
2026-01-27 11:09:20 +01:00
parent 7a4ce8609c
commit 43fc752535
4 changed files with 36 additions and 2 deletions

View File

@@ -167,6 +167,18 @@ the template provides proper form control styles.
Temporary file: [temp-input-colors.css](temp-input-colors.css)
Developer note: DokuWiki serves a combined stylesheet via `lib/exe/css.php` and caches it.
Cache invalidation is based on the mtimes of the source CSS/LESS files.
If you deploy into a mounted/remote filesystem with a different clock, preserving mtimes can prevent
automatic invalidation (making it look like your CSS changes don't load until you purge cache).
`deploy.sh` avoids preserving mtimes by default to make CSS iteration smoother. If you explicitly want
to preserve mtimes, use:
```bash
./deploy.sh --preserve-times
```
## Features and usage