Cache on client site won't be cleared
Some of my friends have on a github repo that I host via pages still the old site, which is now more than 8 months old.
I have the TTL on 5 Minutes now, I pressed clear all cache data, also turned on and off Developer mode for a while, but they do not get the new page.
Deleting cookies on their end does also not give them the new site.
I don't know what else to do or what they can try, the biggest issue: I can't recreate it, since I get the newest version all the time... even if I make a single letter change now in the repo.
Any idea?
well the preview obviously the working one:
fc697884.nettsoviel.pages.dev
9 Replies
You can’t trigger a client cache clear from the server side(unless you have Revalidation enabled), so the client would have to clear their cache manually
You can usually do that in the browser settings
and how will the clients get the new page then?
They would request it again
but they can't
thats the issue I stated in the question
They don't get the new page even after clearing cookie and cacge
Are they getting a Cache Status header on the response?
I don't know, I am not a client with the issue
I am the owner
and I don't have a client to look at, I just got random people telling me they can't get the new page despite clearing cache and cookies
I would make sure that they are clearing the “asset cache” too. Usually, unless you wipe the entire browser, clearing cookies doesn’t clear cache
how do u clear the asset cache?
You have to dig through settings to find the page to do it(or disable cache in devtools)
For Chrome, I believe the URL is chrome://settings#clearBrowserData
Though this clears all data, not just related to your site
You may be able to fine tune it somehow