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

Topbar clear cache menu 

Screenshot of main cache menu showing Myra Clear cache option

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:

Context menu in page tree 

Screenshot of the page context menu showing Myra Clear Cache option

This will clear the selected page only (no child pages, unless configured otherwise). The option will not clear file resources.

Button bar 

Screenshot of the page buttonbar showing Myra Clear Cache option

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 

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:

  1. Edit the page properties and switch to the tab Myra Cloud.
  2. 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_myracloud_require_recursive_cache_clear ) and is not inherited by child pages.

See also 

AutoClear on page / content changes