hosting_clearWebsiteCacheV1
Clear website server-side cache to immediately reflect content updates. Purges Hostinger CDN cache when enabled, and can target subdirectory WordPress installations.
Instructions
Permanently clears all server-side cache for the website at once. Use it when content was updated and needs to be visible immediately, or after making major changes.
Also purges the Hostinger CDN cache when CDN is enabled on the website. For a WordPress installation living in a subdirectory, pass the directory query parameter to clear its cache.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name | |
| username | Yes | username parameter | |
| directory | No | Directory of the website installation to clear, relative to the website root. Defaults to the website root. |