Skip to content

Caching

Chris Millar edited this page Jun 4, 2021 · 1 revision

To clear

$ curl -X HLXPURGE https://{{your-current-branch}}--{{your-repo}}--{{your-github-account}}.hlx.page/{{your-page}}

Example

$ curl -X HLXPURGE https://mediablock--business-website--auniverseaway.hlx.page/blog/top-ten-seo-scams.html

Local cache rules

If working locally, only HTML, JSON, and images are cached. JS & CSS will always be pulled locally.

hlx.page cache rules

Everything is cached when visiting a hlx.page. If you want to see updates

Clone this wiki locally