Skip Navigation

Firefox@lemmy.world: Caching frequently downloaded / used page assets?

I read the descriptions for the Dcentraleyes and LocalCDN addons which cache popular JS frameworks and page assets to enhance privacy and speed up pages that use them (since the assets were downloaded beforehand). Does Firefox have any built-in functionality to cache frequently used assets, or are there any addons that do so?

For instance, If I access Reddit.com a lot, I would want all the resources that all those Reddit pages have in common to be cached automatically to make loading pages from the domain faster.

6

You're viewing a single thread.

6 comments
  • Are you talking about browser cache? Sure.

    Hit about:cache in your URL bar and you can see what it's caching.

    Firefox has a memory cache, that lasts for the life of the browser session, and a disk cache that persists from session to session.

    Note that by default, if you have Firefox set to delete data in your browser on exit (which is a sensible thing to do from a privacy standpoint), it'll also wipe the browser cache (which is sensible behavior, since you can be identified by what your browser has cached in the past, same way cookies work). So if you have that privacy setting on, you may have no persistent cache.

    The browser disk cache size used to be exposed in the GUI preferences. At some point, IIRC, they switched to a "smart cache size" based on available disk space which is IMHO excessively conservative. You can bump it up in about:config today with the browser.cache.disk.capacity setting today, and probably have to flip off browser.cache.disk.smart_size_enabled.

You've viewed 6 comments.