/setup/cache
A view of the setup module, defined in kernel/setup/module.php and run by kernel/setup/cache.php.
Address
/setup/cacheWho may open it
The user needs this policy function:
A policy on setup/* (every function) also grants it; limitations of the policy (section, subtree, class ...) still apply where the view checks them.
Details
| Key | Value |
|---|---|
| Navigation part | ezsetupnavigationpart |
| UI context | administration |
| Single POST actions | ClearCacheButton: ClearCache, ClearAllCacheButton: ClearAllCache, ClearContentCacheButton: ClearContentCache, ClearINICacheButton: ClearINICache, ClearTemplateCacheButton: ClearTemplateCache, RegenerateStaticCacheButton: RegenerateStaticCache, ClearQueryCacheButton: ClearQueryCache, ClearHttpCacheButton: ClearHttpCache, ResetOPcacheButton: ResetOPcache, ClearAPCuButton: ClearAPCu |
| POST action parameters | ClearCache (CacheList: CacheList), RegenerateStaticCache (StaticCacheSiteAccess: StaticCacheSiteAccess) |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/setup/cache'|ezurl>setup/cache</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/setup/cache' );Related
Generated by ./console exp:help:examples from kernel/setup/module.php, kernel/setup/cache.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.