|Firefox .CSS wrong caching|
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?
I haven't had this problem, I just update my CSS file and reload the page.
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.
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.
"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.
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.
i use firefox and its not very good for html i cant see scroll boxes!apartly Netscape is good for html!