I’m running Caddy V1 over Ghost CMS.
Config:
https://domain.com { proxy / localhost:2368 cache { match_path / match_header Content-Type image/jpg image/png text/plain text/html status_header X-Cache-Status default_max_age 15m path ./tmp/caddy-cache } }
I’m doing full page cache. It also stores the homepage which I want to clear after every new post or if possible to not cache homepage.
URL format is for index: domain.com/
URL format is for post domain.com/post-url
How can I avoid index caching or clear if there’s an endoint that can be triggered to clear home cache.