Invisible Caches by Telkom / ISP's ??

threegee

Senior Member
Joined
Jan 17, 2007
Messages
628
Reaction score
31
Location
Sandton
Hi All

I have this constant problem when working on web sites, any CSS changes to a site take up to 10 minutes to reflect despite my server having absolutely no caching of any sort.

It drives me nuts because simple CSS changes to a web site can be a pain to iron out when you have to wait 10 minutes after each change.

Are ISP's or Telkom themselves caching resources like CSS and JS for short periods of time and totally ignoring what a server specifies as far as caching policies or is there somewhere else to look for a way to solve this? It's most unproductive.
 
Try pressing Ctrl+F5 on the webpage.

Dunno if it will help you or what it does exactly but on some webpages it does a hard refresh and you can see the updated version.

It can't hurt to try.
 
Does that work ? I thought you would need to pass a (dummy) variable, thus www.yoursite.co.za/?x=1, then www.yoursite.co.za/?x=2 etc.

No you don't need to pass a variable, and even if you do, the server won't know if it's correct or not. It's up to the code (PHP / ASP / CGI / etc) to parse the variable passed. So the server side scripting language will process it regardless.
 
No you don't need to pass a variable, and even if you do, the server won't know if it's correct or not. It's up to the code (PHP / ASP / CGI / etc) to parse the variable passed. So the server side scripting language will process it regardless.

Yes, but I meant bypassing the cache(s), if you use x=1, x=2 etc. then it is treated as if a 'different' page must be fetched. You're saying that simply adding '?' has the same effect ?
 
Try pressing Ctrl+F5 on the webpage.

Dunno if it will help you or what it does exactly but on some webpages it does a hard refresh and you can see the updated version.

It can't hurt to try.

I do hard refreshes all day long and even they don't work most of the time, very annoying. I read up a way to version the CSS file each time it changes so I am looking into how to implement that code into a child template - see here http://willrees.com/2013/03/make-css-changes-go-live-immediately/
 
I just thought I would report back on this. I found what was caching my css and where.

It was actually the Google Pagespeed module for Apache that caches the css but when it changes it takes about 10 minutes for Pagespeed to reflect that change. It was nothing to do with any invisible caches or proxies on the route or at Telkom.

The fix was as simple as adding

ModPagespeedDisallow "http://*/wp-content/themes/*/*.css*"

To the pagespeed.conf file and voila, any css changes I make now on any of my wordpress sites is visible instantly. Hope this helps someone else one day who runs into this.
 
Top
Sign up to the MyBroadband newsletter
X