Tom
CDCloudflare Developers
•Created by Tom on 1/4/2024 in #pages-help
How can I bypass the cache on a page to get new SSR content?
I have a site served on Cloudflare pages along with a worker for some SSR content. One of my pages is SSR and adds a modal to a page if a certain cookie is present and then instructs for the cookie to be deleted. This modal doesn't appear and the cookie isn't deleted.
The behaviour works as expected when hosting locally.
I tried bypassing the cache by adding a query parameter for when the modal should show e.g.
example.com/?modal
, however this doesn't change the resulting HTML.
What else can I try?2 replies