Dodatki do przeglądarki Firefox
  • Rozszerzenia
  • Motywy
    • do Firefoksa
    • Słowniki i pakiety językowe
Zaloguj się
Podgląd „Cache even Longer”

Cache even Longer Autor: Eric

Extends how long Firefox caches static files, with configurable lifetimes, a per-site popup, stale-while-revalidate, and safety rules for private or uncacheable responses. A renamed fork of Cache Longer 1.0 by Rimu Atkinson.

0 (recenzje: 0)0 (recenzje: 0)
Pobierz Firefoksa i to rozszerzenie
Pobierz plik

Metadane rozszerzenia

Zrzuty ekranu
O tym rozszerzeniu
Cache even Longer keeps static files in Firefox’s HTTP cache for longer, so
repeated visits load faster and use less bandwidth. It is a renamed,
safety-focused fork of the original Cache Longer 1.0 (MIT, by Rimu Atkinson).

Unlike a blanket “cache everything” extension, it only extends responses that
are safe to extend, and leaves everything else exactly as the server sent it.

WHY A RENAMED FORK
The 1.0 add-on forced a six-month public lifetime onto every matching response.
This fork keeps the same goal but adds a configurable policy and safety limits:
private responses stay private, explicit no-store instructions are respected by
default, and errors or partial responses are never cached for months. It is
renamed so the two add-ons are not confused.

WHAT IT DOES
- Sets a configurable freshness lifetime (1–3650 days; default 180) for images,
stylesheets, scripts, and fonts.
- Optionally includes media, XHR/fetch, and other subresources.
- Merges Cache-Control instead of replacing it, and adds a matching Expires
header.
- Optionally adds stale-while-revalidate, so an expired file can be shown
immediately while Firefox refreshes it in the background.
- Optionally limits changes to fingerprinted URLs: files whose names contain a
content hash or version query.
- Accounts for the Age header, so time already spent in a CDN cache does not
shorten the configured lifetime.
- Never adds “public”; keeps private, immutable, s-maxage, no-transform and
other directives. must-revalidate is kept unless the optional stale window
is enabled, in which case it must be dropped for Firefox to use that window.
- “Never shorten” is on by default, so responses that already ask for a longer
lifetime are left alone.

SAFETY RULES
- Respects Cache-Control: no-store by default.
- Skips responses that set cookies by default.
- Skips Vary: * responses.
- Only touches 200, 203 and 304 responses to GET/HEAD requests.
- Never changes the page document, frames, redirects, 204, 206, errors or
non-HTTP URLs.
- Never rewrites a response already served from cache.

CONTROL
- The toolbar popup shows whether the current site is active or excluded, with
one-click exclude/include and a quick lifetime selector.
- Quick profiles: Safe (30 days, fingerprinted only), Balanced (180 days with a
7-day stale window) and Aggressive (365 days with a 30-day stale window and
media included).
- Exclude hosts, subdomains, paths, or URL prefixes with wildcard patterns.
- Export the exclusion list as a dated plain-text file and import/merge another
list without deleting existing patterns.
- Pause the add-on without removing it.
- Optional debug logging shows every allow/skip decision in the extension
console.

FORCE REFRESH
The add-on never adds immutable and never modifies request headers or reload
flags. Shift+Reload (Ctrl+Shift+R / Cmd+Shift+R) still bypasses the HTTP cache
completely. A service worker can still serve from its own cache; use DevTools →
Application → Service Workers → “Bypass for network” for those sites.

PRIVACY
No telemetry, no analytics, no network requests, no remote code. Settings are
stored locally with browser.storage.local. The manifest declares
data_collection_permissions.required = ["none"].

PERMISSIONS
storage stores your settings. webRequest, webRequestBlocking, and host
permissions for http/https are required to inspect and replace response
headers. The popup reads the active tab URL through those host permissions; it
does not request the tabs permission. The add-on has no content scripts and does
not read page content.

COMPATIBILITY
Firefox 115+ on desktop. Firefox for Android is not declared or tested.

GOOD TO KNOW
The HTTP cache is a hint: Firefox may evict entries early, and files already in
the cache keep their stored headers until they expire or are re-fetched.
Service-worker caches are separate and are not modified. Stale-while-revalidate
can show content that is a little out of date during its configured window; turn
it off if that is not acceptable. The add-on does not cache whole pages.

LICENSE
MIT. Cache Longer was originally created by Rimu Atkinson; this renamed fork is
Cache even Longer. The MIT notice is included in the package.
Ocenione na 0 przez 0 recenzentów
Zaloguj się, aby ocenić to rozszerzenie
Nie ma jeszcze ocen

Zapisano ocenę w gwiazdkach

5
0
4
0
3
0
2
0
1
0
Nie ma jeszcze recenzji
Uprawnienia i dane

Wymagane uprawnienia:

  • Mieć dostęp do danych użytkownika na wszystkich stronach

Zbieranie danych:

  • Autorzy tego rozszerzenia twierdzą, że nie wymaga ono zbierania danych.
Więcej informacji
Więcej informacji
Odnośniki dodatku
  • Pomoc
  • Skopiuj identyfikator dodatku
Wersja
2.1.0
Rozmiar
46,03 KB
Ostatnia aktualizacja
22 dni temu (9 lis 2026)
Powiązane kategorie
  • Inne
Licencja
Licencja MIT
Historia wersji
  • Wszystkie wersje
Dodaj do kolekcji
Zgłoś ten dodatek
Strona domowa Mozilli

Dodatki

  • O serwisie
  • Blog dodatków do Firefoksa
  • Warsztat rozszerzeń
  • Strefa autora
  • Zasady programistów
  • Blog społeczności
  • Forum
  • Zgłoś błąd
  • Wytyczne recenzji

Pobieranie

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Najnowsze kompilacje

  • Nightly
  • Beta

Firefox dla firm

  • Enterprise

Społeczność

  • Connect
  • Contribute
  • Developer

Obserwuj nas

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Prywatność
  • Ciasteczka
  • Kwestie prawne

O ile nie wskazano inaczej, treść tej strony jest dostępna na warunkach licencji Creative Commons Attribution Share-Alike w wersji 3.0 lub nowszej.