If one page of the store shows outdated content, flushing the complete full page cache is often overkill: every page has to be generated again and the store becomes slower for a while. Page Cache Url Clean lets you remove exactly one page from the cache by its URL.
Features
- A Page Cache Url Clean box on System > Cache Management with a field for the URL and a Clean url button.
- Only the cached version of this URL is removed; all other cached pages stay in the cache.
- Access to the function can be granted per admin role.
Configuration
There is nothing to configure. The function is available right after installation.
Good to know
Works with Magento’s built-in full page cache, not with Varnish. Every page is marked with its URL when it is cached, so pages that were cached before the installation can only be removed this way after they have been cached again. The URL has to be entered exactly as it was called in the store, including any query parameters.
Installation
Install the module with Composer in your Magento root directory:
composer require infrangible/m2-page-cache-url-cleanThen enable it and update the store as described in the installation guide. Composer installs the required modules listed on this page automatically.