搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Firefox doesn't relect changes to css

  • 6 回覆
  • 6 有這個問題
  • 1009 次檢視
  • 最近回覆由 spmakwana

more options

Hello,

I'm web developer and working on a local website. The problem is when I made changes in my css file it won't reflect in firefox when I refresh the page. HTML changes are getting reflected correctly. Only the problem with css files.

I have to refresh the page like 20-30 time and after that css changes are getting reflected.

In all other browser website working fine and also changes are reflected as it should, only firefox creating problems since last some days.

I have tried the following solutions and they are not works if it helps. 1) Try Shift + refresh but not working 2) delete cookies.sqlite but not working 3) Download and install newly download firefox but still no luck. 5) DOM storage is also enabled 4) Also formatted the PC (for other reason :)) and installed Firefox on fresh system but after that also no luck

I'm using latest firefox. Please help me with some solution it's is very problematic in web development, right now I've to use another browser for time being which I don't like, because I love Firefox.

Please reply as soon as possible.

Hello, I'm web developer and working on a local website. The problem is when I made changes in my css file it won't reflect in firefox when I refresh the page. HTML changes are getting reflected correctly. Only the problem with css files. I have to refresh the page like 20-30 time and after that css changes are getting reflected. In all other browser website working fine and also changes are reflected as it should, only firefox creating problems since last some days. I have tried the following solutions and they are not works if it helps. 1) Try Shift + refresh but not working 2) delete cookies.sqlite but not working 3) Download and install newly download firefox but still no luck. 5) DOM storage is also enabled 4) Also formatted the PC (for other reason :)) and installed Firefox on fresh system but after that also no luck I'm using latest firefox. Please help me with some solution it's is very problematic in web development, right now I've to use another browser for time being which I don't like, because I love Firefox. Please reply as soon as possible.

被選擇的解決方法

cor-el said

Does it has effect if you disable the HTTP cache and mixed set network.http.use-cache to false as a test? Are you using server or proxy software to access the pages locally? It is possible that other software is caching pages if a reload with bypassing the cache isn't working. Does this also happen when pages are uploaded to the internet or only with local access?

I'm using PHP with Apache for local website files. It works if i set network.http.use-cache to false. But is that normal? don't it take too much time to load internet pages?

從原來的回覆中察看解決方案 👍 0

所有回覆 (6)

more options

If shift+reload doesn't work there might be a deeper problem with your Firefox profile, but it might be worth trying this:

Pop open Firefox's developer tools (Ctrl + Shift + I in Windows) and head to the tools' settings (gear icon). There's an option in there to disable the browser's cache while you've got the tools open.

more options

Scott said

If shift+reload doesn't work there might be a deeper problem with your Firefox profile, but it might be worth trying this: Pop open Firefox's developer tools (Ctrl + Shift + I in Windows) and head to the tools' settings (gear icon). There's an option in there to disable the browser's cache while you've got the tools open.

As you said I tried disabled the cache in developer window (Ctrl + Shift + I) and it is working fine while developer window is open. But what about normal use is there any other solutions?

more options

Ctrl+Shift+R (or ctrl+F5) should achieve the same effect.

more options

Does it has effect if you disable the HTTP cache and mixed set network.http.use-cache to false as a test?

Are you using server or proxy software to access the pages locally?

It is possible that other software is caching pages if a reload with bypassing the cache isn't working.

Does this also happen when pages are uploaded to the internet or only with local access?

more options

Scott said

Ctrl+Shift+R (or ctrl+F5) should achieve the same effect.

No it does not works in my case.

more options

選擇的解決方法

cor-el said

Does it has effect if you disable the HTTP cache and mixed set network.http.use-cache to false as a test? Are you using server or proxy software to access the pages locally? It is possible that other software is caching pages if a reload with bypassing the cache isn't working. Does this also happen when pages are uploaded to the internet or only with local access?

I'm using PHP with Apache for local website files. It works if i set network.http.use-cache to false. But is that normal? don't it take too much time to load internet pages?