Something is caching my Pages site

Hello,

I have an issue where pages seem to be cached for some reason. I believe I have turned off Cloudflare's caching in the dashboard (see image). However, old pages are sometimes served.

I have a server-side rendered page with a countdown on it. Often, what will happen is that a user will load the page, then close it, then come back to it later, and it displays the (now outdated) same server-side rendered countdown as it did the first time they visited (until JS loads and executes).

This issue also happens whenever I make a change to any JS logic. I use SvelteKit, so all files are hashed (e.g., script.7010ddca.js), so caching should not be an issue. However, the actual html is cached, so it references the previous JS files, which should no longer exist but are also cached.

Oddly, using ctrl+shift+r will sometimes correctly fetch the new page, but it also sometimes doesn't.

I have 0 page rules, and the cache rule shown below is the only one.

Any ideas about what might be causing this?
Was this page helpful?