Nikolas
CDCloudflare Developers
•Created by Nikolas on 10/3/2023 in #pages-help
Issues with caching
Hello.
I use Pages for a bit now and I've observed some weird behavior with caching:
- When I change a file on my site, while it changes on the .pages.dev subdomain instantly, it doesn't on the custom domain. This happens when I have the Cloudflare proxying enabled for the cname entry and it takes approximately 30 minutes to change. When I don't use Cloudflare proxying, it works fine.
- When I delete a file, even on the pages.dev domain, the file remains accessible for a few days (haven't checked how much).
I have no idea if this is intended. Cache purging on my domain doesn't help for both cases. I was thinking of keeping Cloudflare proxying on to hide the actual dns queries (is it even worth it?)
Thanks
4 replies