Add cache inclalidation for Chronological
This commit is contained in:
14
README.md
14
README.md
@@ -285,6 +285,8 @@ Notes:
|
||||
- Header month/year links target `chronological:YYYY:MM` and `chronological:YYYY`.
|
||||
- Prev/next month buttons update the widget in-place without a full page reload.
|
||||
- Month switches fetch server-rendered widget HTML via AJAX and replace only the widget node.
|
||||
- Calendar output is marked as non-cacheable to keep missing/existing link styling and
|
||||
current-day highlighting up to date.
|
||||
|
||||
### 0.4) Virtual chronological day pages
|
||||
|
||||
@@ -300,6 +302,18 @@ The virtual page includes:
|
||||
|
||||
The page is only created once you edit and save actual content.
|
||||
|
||||
### 0.5) Cache invalidation
|
||||
|
||||
luxtools provides an admin-only **Invalidate Cache** action in the page tools menu.
|
||||
|
||||
- Purges the **entire** DokuWiki cache directory (`data/cache/*`).
|
||||
- This covers rendered pages, parsed instructions, CSS/JS bundles, and all
|
||||
luxtools-specific caches (thumbnails, pagelink mapping).
|
||||
- Useful after deploying plugin or template changes (replaces the old
|
||||
`touch conf/local.php` step in `deploy.sh` which often failed due to
|
||||
permission errors).
|
||||
- Also useful when actively adding external photos to the current day page.
|
||||
|
||||
### 1) List files by glob pattern
|
||||
|
||||
The `{{directory>...}}` syntax (or `{{files>...}}` for backwards compatibility) can handle both directory listings and glob patterns. When a glob pattern is used, it renders as a table:
|
||||
|
||||
Reference in New Issue
Block a user