homepage Welcome to WebmasterWorld Guest from 54.161.228.29
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
CSS updates taking minutes to see
Even removing css file doesn't change styles on site
AWildman




msg:3912743
 5:33 pm on May 13, 2009 (gmt 0)

Irritating problem: I'm having an issue with css files only. I can make any change to a file, post it, and it takes minutes to see the change. 1) I've logged onto the server and viewed the file to ensure that it was properly ftp'ed. 2) I've made the changes on the server and still the changes don't take effect. 3) I've REMOVED the entire css file and the site still appears as though the file were there. 4) It goes without saying that I've cleared my cache on my browsers each and every time I've checked a change. 5) It happens on Windows and Mac in all browsers.

What could POSSIBLY be causing this? It is as though the css is cached somewhere but I can't imagine where. I removed the style sheet from the server. I had coworkers who had not previously viewed the site do so and they still saw styled content. This obviously delays development and causes me major headaches. This has happened twice now on two different servers, one internal to the network, one outside the network. But it ONLY happens to my css files. I can see changes to html or php files instantly. HELP!

 

DrDoc




msg:3912887
 7:45 pm on May 13, 2009 (gmt 0)

Are you behind a proxy? Does the server potentially have a cache?

Something somewhere is caching the file. Have you tried a ctrl-refresh? That should punch through the proxy ...

AWildman




msg:3914679
 8:29 pm on May 15, 2009 (gmt 0)

I did do the cntl-refresh. It turns out our ISP has a caching server! Good to know. The only thing that worked was adding a question mark "?" after the filename in the link to the css file. That works reliably. How frustrating though when you haven't a clue about the caching server?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved