Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Why firefox is still cacheing when i set website cache to 0MB?

  • 4 trả lời
  • 5 gặp vấn đề này
  • 43 lượt xem
  • Trả lời mới nhất được viết bởi gizzmo

more options

Hi,

i developing websites and from about 1 month i think up from Version 30 or 31 is have problems with the cache.

I activated the manual cache size and set it to 0MB (websites) but i still have problems that a site is cached.

In development that is a big problem, when the browser still shows you an old page. I change something at my code but it does not apear when i reload the page. When i open a other browser e.g. chrome i see my changes.

Btw i do not like chrome and i would really be more happy when i can stay at firefox. But the described problem could couse me to change the browser.

Best regards and keep having fun in dev Michael Topor-Grabowski

Hi, i developing websites and from about 1 month i think up from Version 30 or 31 is have problems with the cache. I activated the manual cache size and set it to 0MB (websites) but i still have problems that a site is cached. In development that is a big problem, when the browser still shows you an old page. I change something at my code but it does not apear when i reload the page. When i open a other browser e.g. chrome i see my changes. Btw i do not like chrome and i would really be more happy when i can stay at firefox. But the described problem could couse me to change the browser. Best regards and keep having fun in dev Michael Topor-Grabowski

Giải pháp được chọn

Hello Michael, There are actually quite a few ways to accomplish what you're trying to do. The easiest way to refresh the page without querying the cache is to tap ctrl and f5 instead of just tapping f5 or hitting the reload button. The second way would be to configure your development web server to transmit the "Cache-Control: no-cache" cache directive so that no matter what browser you are testing with, (as long as it's w3c compliant) will not cache the webpages hosted. The final method should be treated as a last resort but you could also disable Firefox's cache by toggling the network.http.use-cache option in about:config to false. be sure once you decide on one of these methods to clear your browser's cache before you test again.

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (4)

more options

Giải pháp được chọn

Hello Michael, There are actually quite a few ways to accomplish what you're trying to do. The easiest way to refresh the page without querying the cache is to tap ctrl and f5 instead of just tapping f5 or hitting the reload button. The second way would be to configure your development web server to transmit the "Cache-Control: no-cache" cache directive so that no matter what browser you are testing with, (as long as it's w3c compliant) will not cache the webpages hosted. The final method should be treated as a last resort but you could also disable Firefox's cache by toggling the network.http.use-cache option in about:config to false. be sure once you decide on one of these methods to clear your browser's cache before you test again.

more options

Hi Andrew,

first thank you for your fast reply.

I used CTRL+F5 ;-) but it did not help, the idea with the dev webserver is a bit overdose because for some sites it's quite important, but i will try the "network.http.use-cache" cache directive.

Best regards Michael

Được chỉnh sửa bởi gizzmo vào

more options

Hello Michael, Did that suggestion help you? if not let me know, there was also a change to the way firefox caches webpages between 31 and 30 and i can do some more digging if that didn't work.

Thanks, Andrew

more options

Hello Andrew,

the problem i described was happening only sometimes. So i need some time to see if it does not occure again.

For now it did not happen again.

I mark the problem as solved now and comment it if it will occure again.

Have a nice day Michael