What I ended up doing was to download all the files on my website (www.dinnerpartytown.uk) then with BBEdit's multiple file search I made the following replacements: ".html" replaced with ".html?v=1.0" ".js" replaced with ".js?v=1.0" ".css" replaced with ".css?v=1.0" ".jpg" replaced with ".jpg?v=1.0" I then uploaded all the files to the server and everything seems to work fine. I'm hoping this will allow me to make changes that will not be ignored through visitor browser caching.
On Friday, June 18, 2021 at 1:08:47 PM UTC+1 Greg Raven wrote: > This sounds like a good reason not to use Chrome, but in your shoes I > think I would select those files in the Finder and right-click to bring up > the Rename function. I'll bet this could even be automated. > > On Thursday, June 17, 2021 at 7:33:28 AM UTC-7 Peter Small 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. >> >> To get over this problem I want to append a version number in a query >> line to every document i.e., by adding "?v=1.0" to the end of all the >> documents (URLS, CSS and JS docs). I want to be able to do this first in a >> folder on the desktop. >> >> Can this be done as a batch with BBEdit? Or perhaps there is an >> Applescript or Keyboard Maestro macro out there somewhere? >> >> Grateful for any suggestions. >> > -- 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/b34408c7-7344-400c-8c3e-35d7c30c47e4n%40googlegroups.com.
