- License Information
- Not License
- Developer
- iTeffa (Flowaxy Studio)
Admin Header Quick Cache Clear adds a one-click cache maintenance control to the Botble CMS admin bar. Superusers see a compact database icon next to the other header utilities (after the theme toggle group, together with notifications and other plugins that use BASE_FILTER_TOP_HEADER_LAYOUT). The control uses the same clearing pipeline as the “Cache management” system page: Laravel/framework cache flush, Google Fonts cache (when enabled), HTML Purifier cache, Debugbar storage, compiled Blade views, cached config, route bootstrap cache, log files, and RvMedia::refreshCache() for media.
The action is exposed as a protected POST route under the admin prefix (system/quick-clear-cache, name admin-header-cache-clear.quick) with superuser permission and preventDemo middleware. A small bundled script sends the AJAX request, shows the standard admin success message, and reloads the page on success. Labels and messages are localized (EN/UK/RU). Assets must be published to public (e.g.
cms:publish:assets or the cms-public publish tag) so vendor/core/plugins/admin-header-cache-clear/js/quick-clear-cache.js is available.Requirements: Botble Base ClearCacheService, Media (RvMedia), active plugin in the admin plugin list. Not for non–superuser accounts or demo environments where preventDemo blocks destructive actions.