We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
How to force a browser to NOT used a cached page
Options

grumpycrab
Posts: 5,026 Forumite



Just done a minor update to a charity website and the only way I can see the update is by using a different browser or by deleting the browser cache.
Is there a web site/html command that I should use to force peoples' browsers NOT to use the browser cache? (how can you tell I don't know what I'm doing?)
Is there a web site/html command that I should use to force peoples' browsers NOT to use the browser cache? (how can you tell I don't know what I'm doing?)
If you put your general location in your Profile, somebody here may be able to come and help you.
0
Comments
-
If it is the browser cache then usually
Windows: ctrl + F5
Mac/Apple: Apple + R or command + R
1 -
https://theknowledgeadda.com/disable-caching-with-meta-html-tags-in-all-browser
Above gives you some options but ultimately the user's computer makes the decision. Also be aware that it may notably slow load times, in particular if you are using the likes of jQuery or React. Its a bit of a hammer to crack a nut.0 -
grumpycrab said:Just done a minor update to a charity website and the only way I can see the update is by using a different browser or by deleting the browser cache.
Is there a web site/html command that I should use to force peoples' browsers NOT to use the browser cache? (how can you tell I don't know what I'm doing?)You don't (force other people's browsers that is). You can only suggest it through tags or headers (if you're using a scripting language like PHP for example to build the page) - but if the browser decides to ignore it for whatever reason, not a lot you can do. Different browsers require different methods, but if asked they should respect it. But the modern day of plug-ins, extensions and what not to modify the experience/behaviour doesn't always mean a browser will behave how you expect it to.Some internet providers used to run their own cache further up the line (Freeserve used to do this) to speed things up, though while this may have been beneficial in days of dial-up, is arguably less so in the era of broadband.0
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 351.1K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.6K Spending & Discounts
- 244.1K Work, Benefits & Business
- 599K Mortgages, Homes & Bills
- 177K Life & Family
- 257.4K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards