4 Replies - 488 Views - Last Post: 04 August 2012 - 10:01 PM

The site is using the old CSS values

Posted 03 August 2012 - 05:07 PM

so I changed a couple of CSS values and when I view them in browser, any browser, it's showing the old values instead. When I used inspect element, it's showing the old value. If I look at the file directly in the browser, it shows the new value. I've tried this with both Chrome and Firefox with no avail. And yes, I've done ctrl+f5.

Re: The site is using the old CSS values

Posted 03 August 2012 - 09:40 PM

I've found that some servers will serve old files for quite some time before updating them. I wish I had a better answer for you - I just ended up changing the ref filename and it had no choice but to grab the new file.

Re: The site is using the old CSS values

Posted 03 August 2012 - 10:22 PM

Oh my. This is awfully embarrassing, but I was editing the wrong file. For some reasons there are two copies of it in separate directories. It was linking to the unedited, and I was viewing the edited one.

Well, at least maybe someone searching for the same problem will be able to fix it.

This post has been edited by creativecoding: 03 August 2012 - 10:27 PM

Re: The site is using the old CSS values

Posted 04 August 2012 - 10:01 PM

Make sure to keep tracks on any optimization software you're running. QUite often I tend to forget I'm using Varnish as a proxy to my servers and get annoyed when it shows me the cached copies repeatedly.