Download the PHP package kffein/prerender-io-clear-cache without Composer
On this page you can find all versions of the php package kffein/prerender-io-clear-cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kffein/prerender-io-clear-cache
More information about kffein/prerender-io-clear-cache
Files in kffein/prerender-io-clear-cache
Package prerender-io-clear-cache
Short Description Clear the cache on entries save from prerender.io
License MIT
Informations about the package prerender-io-clear-cache
Prerender Io Clear Cache plugin for Craft CMS >=3.5
Clear the cache on entries save from prerender.io
Requirements
This plugin requires Craft CMS 3.5.0 or later.
Installation
To install Prerender Io Clear Cache, follow these steps:
- Install with Composer via composer require kffein/prerender-io-clear-cache from your project directory
- Install plugin in the Craft Control Panel under Settings > Plugins
You can also install Prerender Io Clear Cache via the Plugin Store in the Craft AdminCP.
Overview
This plugin allows you to:
- Clear the cache when saving an entry.
- Clear all caches via utilities.
- Clear all caches via CLI command.
Configuration
You must enter the token provided by prerender to access the API.
The Clear cache on save option allows you to delete the cache when saving the entry.
Using craft-export-csv
When the entry is saved, the EVENT_AFTER_SAVE_ELEMENT event retrieves the url of the entry and calls the Prerender API in order to delete this Url. Depending on the section save strategy, entries from other sites will also be deleted.
It is possible to delete all caches of all entries via utilities
It is also possible to delete all caches of all entries via the CLI
Prerender Io Clear Cache Roadmap
- [ ] Manage categories urls
- [ ] Manage commerce products urls
- [ ] Delete specific url
- [ ] Validate if page exists
Credits
Brought to you by Kffein