Re: Adding a query line to all files in a folder

2021-06-20 Thread MediaMouth
I've never found header controls to be particularly reliable when trying to manage caching. And renaming files seems a frustrating approach Among the most reliable methods involves the use of query strings. There are a lot of ways to approach this, and your control can be as global or

Re: Adding a query line to all files in a folder

2021-06-20 Thread peter
Thank you Gerald, That seems really useful advice. As I look more and more into caching I'm finding a real Pandora's box. There seems to be no universal solution, so, its bottom up, try and test from here on. > Greetings al, and Peter Small. > > I have ran into many different issues when

Re: Adding a query line to all files in a folder

2021-06-20 Thread peter
Thank you for your suggestions. As I'm new to this problem of caching I'm stumped by simple things that to most people seems blatantly obvious. Firstly, I don't have a problem myself with getting a server side version of a web page as I can use command-R when Chrome caches it. It is the visitors

Re: Adding a query line to all files in a folder

2021-06-19 Thread @lbutlr
On 17 Jun 2021, at 08:31, 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. Are you setting an expiration header on you site? This is normally how you

Re: Adding a query line to all files in a folder

2021-06-19 Thread Gerald Davenport
Greetings al, and Peter Small. I have ran into many different issues when dealing with web design and browser cache when testing a quick fix with css, an image, or anything that the browser (or the hosting server) has stored. I use https://chrispederick.com/work/web-developer/

Re: Adding a query line to all files in a folder

2021-06-19 Thread Peter Small
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

Re: Adding a query line to all files in a folder

2021-06-18 Thread Greg Raven
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

Re: Adding a query line to all files in a folder

2021-06-17 Thread Nestor Aguilera
Will this link help? https://superuser.com/questions/1121716/how-do-i-force-chrome-to-load-a-fresh-copy-of-a-page Best, Nestor === > On 17 Jun 2021, at 11:31, Peter Small wrote: > > Chrome keeps caching my files so that when I make a change to

Re: Adding a query line to all files in a folder

2021-06-17 Thread Neil Faiman
On Jun 17, 2021, at 10:31 AM, Peter Small mailto:pe...@stigmergicsystems.com>> wrote: > > 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

Re: Adding a query line to all files in a folder

2021-06-17 Thread Media Mouth
> On Jun 17, 2021, at 7:31 AM, 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

Adding a query line to all files in a folder

2021-06-17 Thread Peter Small
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