Clear pages
There are 4 ways to clear a page from the cache:
- Topbar clear cache menu (clear all)
- Context menu in page tree (left/right-click)
- Button bar in doc header within Page/List/View modules
- Page/Content update hook
Note
Apart from the topbar clear cache menu, the page clear cache options clear a single page only and are non-recursive, unless the page is configured to require a recursive cache clear.
Topbar clear cache menu
Clear the entire page cache or file cache
This option is admin-only by default. To allow for non-admin users, set user permissions accordingly.
If the menu option does not appear, check for missing Myra credentials and the setting of the feature flags:
Button bar
This will clear the current page only (no child pages, unless configured otherwise). The option will not clear file resources.
Recursive cache clear per page
New in version 4.2.0 / 3.4.0
Feature #176 - Allow recursive page cache clear via page setting
By default, clearing a page only clears that single page in Myra Cloud. For pages whose output also affects other URLs (e.g. a new detail page), the page can be flagged to be cleared recursively:
- Edit the page properties and switch to the tab Myra Cloud.
- Enable Require recursive cache clear and save.
From then on, every clear request for this page (context menu, button bar,
AutoClear hooks, CLI command with -t page) also clears
all paths below the page's URL in Myra Cloud. The setting is stored per page
record (field
tx_) and is not
inherited by child pages.