DelphiFAQ Home Search:

Updated style sheet not reloaded in Firefox 1.0

 

commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.

Question:

I viewed my own web site in Firefox 1.0, and noticed an error in the style sheet. So I updated the style sheet and hit "reload" in the browser. The changes did not show any effect.

Answer:

Seems that there is a problem with how Firefox handles the cache. We have seen the same problem with FF and it did not happen with Internet Explorer (IE 6).
When you close Firefox and start a new browser instance, it will load the CSS freshly of course.

Note: Firefox has an advanced two-stage caching system (disk cache and RAM cache). That's why closing FF seems to be required.

The whole problem could also be resolved by upgrading your web server, in case you use Apache. I read tha about a known problem with Apache where it serves cached pages with a default MIME type header, regardless of the header set in the orignal file.
For more information see here:

Bug description at apache.org

Another idea:
if your pages are generated dynamically, you could add a random string to the CSS url, e.g. "?r=123" - where 123 is a random number. This will force a reload all the time. On the other hand, you probably won't change the style sheet much in the future anyway.


Comments:

2014-05-10, 19:35:39
Makayla from Russian Federation  
What sort of music do you listen to? <a href=' http://www.steffani..latsbrist/ '>generic accutane without prescription</a> You may submit the adjustment on paper or electronic batch.
<a href=' http://www.extremes..eakayaking '>bimatoprost purchases</a> 727 Serial Number Cannot Be Adjusted ± EK M/I Scheduled Prescription ID
<a href=' http://www.chiefexe..m/overseas '>can you buy accutane from canada</a> contributions to the development of Moi University College of Health Sciences and the
<a href=' http://www.novasgz...oteca.html '>bimatoprost cod saturday delivery</a> frequented by foreigners such as clubs, hotels, resorts, upscale shopping centers,
2014-11-07, 09:44:10
anonymous  
Some people don't read user manuals and feel difficulty while installing geeklog so you are helping these people to install easily and bring new look in their websites. For updating information it is very necessary to get essay writing service http://www.wwwritin..rvice.com/ from our source and bring professional look in their writings.
2015-02-25, 19:24:28
anonymous from Indonesia  
Saya haturkan banyak terima kasih, karnah KI COKENG membantu memberikan solusi,,,kini saya udah lepas dari kendala yg saya alami kemaren, dan angka yg aki berikan sangat tepat, hanya sekali ini saya main togel...Buat kamu yg pengen menang togel....bisa hub: Ki Cokeng di: +6285394330318. terima kasih.

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: