搜尋 Mozilla 技術支援網站

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

了解更多

Firefox keeps caching old css and js, have to do a hard refresh every time i view the site

more options

I am a web developer,

Recently (this week and last) my firefox has been caching very old resources. If i update a pages html, i can see that change on a refresh, but and css or js changes i make do not reflect. Every time i load a site i have to do a [shift + refresh]. Even if i clear my cache in the preferences it will not solve the problem.

The only way i can make firefox load the new page resources is via a app called "clean my mac 2" where i have to do a application reset.

I do this 5 or 6 times a day and the rest of the time i still have to [shift + refresh] to get the updated content.

I am a web developer, Recently (this week and last) my firefox has been caching very old resources. If i update a pages html, i can see that change on a refresh, but and css or js changes i make do not reflect. Every time i load a site i have to do a [shift + refresh]. Even if i clear my cache in the preferences it will not solve the problem. The only way i can make firefox load the new page resources is via a app called "clean my mac 2" where i have to do a application reset. I do this 5 or 6 times a day and the rest of the time i still have to [shift + refresh] to get the updated content.

被選擇的解決方法

It is possible that the cookies.sqlite file that stores the cookies is corrupted.

Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete other present cookie files like cookies.sqlite-journal in the Firefox profile folder in case the file cookies.sqlite got corrupted.

You can also check if DOM Storage is enabled.

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

所有回覆 (1)

more options

選擇的解決方法

It is possible that the cookies.sqlite file that stores the cookies is corrupted.

Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete other present cookie files like cookies.sqlite-journal in the Firefox profile folder in case the file cookies.sqlite got corrupted.

You can also check if DOM Storage is enabled.