On 17 Jun 2021, at 08:31, Peter Small <[email protected]> wrote:
> Chrome keeps caching my files so that when I make a change to any online 
> document Chrome displays the cached version and not the modified version that 
> is on the server.

Are you setting an expiration header on you site? This is normally how you 
prevent caching.

Also, I believe in Chrome (and other browsers) ⇧⌘-R or perhaps ⌥⌘-R will reload 
the page from the server and not from cache.

Or, you can go all in and add http headers:

Cache-Control: no-cache, no-store, must-revalidate
Expires: 0

In Apache you would add this like so:

<IfModule headers_module>
  Header set Cache-Control "no-cache, no-store, must-revalidate"
  Header set Expires "0"
</IfModule>


-- 
"He is simply a shiver looking for a spine to run up." - Paul Keating

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/85A7EAF6-1AC3-4E76-8A3C-B315D7F4D069%40kreme.com.

Reply via email to