Clear website cache
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.
hostinger hosting cache clear-website <username> <domain> [flags]
--directory string Directory of the website installation to clear, relative to the website root.
Defaults to the website root.
-h, --help help for clear-website
--config string Config file (default is $HOME/.hostinger.yaml)
--format string Output format type (json|table|tree), default: table
- hostinger hosting cache - Cache commands