In case you are using WordPress and would like to automatically purge the cache of your websites (hosted at DIHOST) whenever an article was added or updated, you can now use the DIHOST cloud cache plugin.
Once installed and configured the plugin will automatically send a purge request to the server which has the same effect as doing it manually through the cloud panel.
To start using the plugin you’ll first have to download and install it in your WordPress installation.
- Download the link using this link.
- Upload the plugin through the WordPress control panel.
- Activate the
- Navigate to
Cloud Cacheand insert the application ID and key.
To get the application ID, simply navigate to the cloud panel and open the settings page of the application/domain where you installed the plugin. Now look at the URL of the page and extract the ID between the
/settings part of the URL.
The application ID has the following format:
Do not use this application ID! Use the one extracted as described above.
The application key can be generated in the cloud panel on the settings page of the application/domain where you installed the plugin. Look for the section Application Key, where you can generate a new key. Ensure to copy the newly created key as it cannot be viewed later.