Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

in my android and linux pc, firefox will refuse to display web pages which was fully downloaded couple hours before.

ff always ask for internet connection although all needed files are in the cache.

i'm on internet diet (disable wifi for hours long) so bad behaviors are apparent

those who always-on-24/7 fiber may not notice



I've seriously always wondered exactly what the purpose of a cache for web pages in a browser is. Why is it there? It takes up many megabytes (or even GB) of space. Yet it seems to serve no purpose whatsoever: every time you navigate to that page, it always reloads it from the web server, even if you just briefly (mis-)click on a link and then click on "back". A lot of disk space could be saved by simply eliminating these caches.


Because for some files developers can set a max time it should be cached. Just open developer tools and go to the Network tab, make sure "Disable Cache" is unchecked and then reload the page. In the column "Transferred" you can see, which things are loaded from cache




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: