Enable Firefox Cache Partitioning for Stronger Privacy – A Step‑by‑Step Guide
Learn how to turn on Firefox’s cache‑partitioning feature, verify it works, and handle potential performance or extension issues. Follow our concise, practical guide to boost privacy without breaking your browsing experience.
27 Mar 2026, 19:05 UTC

Desired Outcome
Turn on Firefox’s Cache Partitioning feature so that each website (origin) stores its own cookies and cache, preventing cross‑site tracking and improving privacy.
Prerequisites
- Firefox 102 or newer (older builds lack native support).
- Administrator or user privileges to modify browser settings.
- Backup of current
about:configpreferences is optional but recommended if you manage a large profile.
Enabling Cache Partitioning
- Open the configuration editor: Type
about:configin the address bar, press Enter, and click the “Accept the Risk and Continue” button. - Search for the preference: In the search box, type
privacy.partitioned_cookies.enabled. - Toggle the setting: If the preference is
false, double‑click it to set it totrue. If it does not exist, right‑click anywhere, select New → Boolean, name itprivacy.partitioned_cookies.enabled, and set the value totrue. - Restart Firefox: Some changes require a browser restart. Close all windows and launch Firefox again.
Verifying Activation
After restarting, confirm the setting and observe the effect on storage.
- Check the preference value: Re‑open
about:config, findprivacy.partitioned_cookies.enabled, and ensure it showstrue. - Inspect storage per origin: Open a site that previously used shared cache, e.g.,
https://example.com. Then press Ctrl+Shift+I (or click the menu → Web Developer → Inspector) to open Developer Tools.- Navigate to the Storage tab.
- Expand Cookies and verify that only cookies for
example.comappear, with no entries from other origins. - Repeat the process for a second site (e.g.,
https://another.com) and confirm its cookies are isolated.
- Use the networking diagnostics page: Go to
about:networking#privacyand look for the line “Partitioned cookies enabled: true”.
Performance Considerations
Cache partitioning can increase the number of cache files and potentially reduce cache hit rates for sites that rely on shared resources. Users may notice a slight slowdown on pages that heavily reuse static assets across multiple domains. If you observe significant performance degradation, consider disabling the feature (see Rollback).
Extension Compatibility
Some extensions that manipulate cookies or cache globally may not function as expected once partitioning is enabled. Test any critical extensions after enabling the feature. If an extension breaks, you may need to disable it or look for an updated version that supports partitioned storage.
Rollback – Disabling Cache Partitioning
- Open
about:config. - Search for
privacy.partitioned_cookies.enabled. - Double‑click to set the value back to
false. - Restart Firefox.
- Verify that cookies and cache are now shared again by repeating the steps in the Verifying Activation section.
Practical Check – Quick Test Script
While not a command‑line tool, you can use a small JavaScript snippet in the console to confirm isolation:
// Visit two sites: example.com and another.com
// In each site's console, run:
console.log(document.cookie); // Should only show cookies for this origin
Limitations & Caveats
- Cache partitioning is only available in Firefox 102+; users on older releases cannot enable it.
- Sites that rely on shared cache (e.g., CDN‑shared assets) may see increased load times.
- Extensions that rely on global cookie storage may behave unpredictably.
- Privacy benefits are incremental; other tracking methods (fingerprinting, localStorage) remain unaffected.
Summary
By toggling privacy.partitioned_cookies.enabled to true, you isolate each origin’s cookies and cache, mitigating cross‑site tracking. Verify the change via about:config and Developer Tools, monitor performance, and be prepared to rollback if necessary. This straightforward tweak enhances privacy with minimal effort.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.