homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

Firefox .CSS wrong caching

 6:06 pm on Apr 18, 2005 (gmt 0)


I'm testing a new website which is heavly based on CSS which I have in a separate file.
I found that there's no way for FireFox to read the new CSS file when I upload a new one.
I have to go and manually "clear all" cache in order to read the CSS file again.
Is this normal?



 6:24 pm on Apr 18, 2005 (gmt 0)

I haven't had this problem, I just update my CSS file and reload the page.



 8:53 pm on Apr 18, 2005 (gmt 0)

Sometimes firefox, and earlier gecko browsers, have had issues with caching, you're correct.

If you are having problems, all you have to do is hit ctrl + F5 to do a full refresh, plus make sure your caching is set correctly, but a ctrl+F5 does a full reload of all elements, including those pesky css files.


 8:07 pm on Apr 20, 2005 (gmt 0)

To avoid issues like this, I always use include files or SSI to insert my stylesheet @import statement onto pages. When I make important changes, I save the stylesheet with a new name and change the reference in the include files. Thus the new file will be requested and any cache issues disappear.


 5:04 pm on Apr 21, 2005 (gmt 0)

"I make important changes, I save the stylesheet with a new name and change the reference in the include files."

I second Matthew's advice here, I just had a major issue with a new site going up, but still using the old css file, a simple renaming resolved the problem instantly of course. I use a similar method to Matthew, a sitewide template that allows easy changes to the <head> area.

I'd forgotten that while my browsers are all set to refresh correctly, the average browser is set to only refresh when it thinks that file is new, and CSS files seem to pose special issues, even for IE. This seems to be an especial problem when you use the @import method to bring in the stylesheets, one tester could not get the new style sheet up at all, even with a full refresh, ctrl+F5, on Firefox 1.0.2, which is a mystery to me since my browsers all refreshed it fine.


 2:52 pm on May 18, 2005 (gmt 0)

We are having the same problem with a flash map pulling XML data to format and populate the map. A simple reload pulls new data into Netscape and IE; FIrefox requires that the cache be emptied.


 8:06 pm on May 28, 2005 (gmt 0)

i use firefox and its not very good for html i cant see scroll boxes!apartly Netscape is good for html!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Browsers / Firefox Browser Usage and Support
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