User Agents

Web browsers and everyday web tech, explained

How to Completely Disable Cache in Google Chrome

· 5 min read · Cookies and Cache

In this article
  1. What the Chrome Cache Actually Does
  2. Why You Might Want to Disable It
  3. Method 1: Disable Cache While DevTools Is Open
  4. Method 2: Disable Cache Permanently with a Command-Line Flag
  5. Method 3: Use Incognito Mode (Partial)
  6. Common Problems and Misconceptions
  7. Alternatives to Disabling the Cache
  8. Frequently Asked Questions

To completely disable the cache in Google Chrome, you must use the Developer Tools (DevTools) and set the Network conditions to disable the cache while DevTools is open. There is no built-in setting in Chrome to permanently turn off caching for all browsing sessions; the only full method is to use the command-line flag --disk-cache-size=0 when launching Chrome, which disables the disk cache entirely.

What the Chrome Cache Actually Does

Chrome stores copies of web resources—images, CSS, JavaScript, and sometimes full pages—in two places: a disk cache on your hard drive and a memory cache in RAM. When you revisit a site, Chrome checks its cache to load elements faster, reducing bandwidth and speeding up page loads. This is generally beneficial, but it can cause problems for developers testing changes, or for users concerned about privacy and storage. Disabling the cache forces Chrome to fetch every resource fresh from the server, which is slower but ensures you always see the latest version of a page.

Why You Might Want to Disable It

There are several common reasons to disable the cache:

  • Web development: When editing CSS or JavaScript, cached versions can hide your latest changes. Disabling the cache ensures you see exactly what the server sends.
  • Troubleshooting: A corrupted cache can cause pages to render incorrectly or show stale content. Disabling the cache helps isolate whether a problem is cache-related.
  • Privacy: The cache can store sensitive data (e.g., pages from a logged-in session). Clearing or disabling it reduces traces on your device.
  • Storage space: The disk cache can grow to hundreds of megabytes. Disabling it prevents that usage.

Method 1: Disable Cache While DevTools Is Open

This is the most common method for developers. It disables the cache only while the DevTools window is open, which is useful for testing without permanently altering your browser.

  1. Open Chrome and press F12 (or Ctrl+Shift+I on Windows/Linux, Cmd+Option+I on Mac) to open DevTools.
  2. Click the Network tab.
  3. Check the box labeled Disable cache. It’s near the top of the Network panel.
  4. Keep DevTools open while you browse. The cache is disabled for all tabs as long as DevTools is open.

Note: This setting applies only while DevTools is open. Once you close it, caching resumes. Also, it doesn’t affect the memory cache completely; it forces Chrome to bypass both disk and memory caches for requests made through DevTools.

Method 2: Disable Cache Permanently with a Command-Line Flag

To disable the disk cache entirely for every session, you can launch Chrome with the --disk-cache-size=0 flag. This tells Chrome to set the disk cache size to zero, effectively disabling it. However, the memory cache may still work.

  1. Windows: Right-click your Chrome shortcut, select Properties, and in the Target field add --disk-cache-size=0 after the existing path. For example: "C:\Program Files\Google\Chrome\Application\chrome.exe" --disk-cache-size=0
  2. Mac: Open Terminal and run: open -a "Google Chrome" --args --disk-cache-size=0
  3. Linux: Run: google-chrome --disk-cache-size=0

This flag disables the disk cache, but not the memory cache. To also disable the memory cache, you can add --disable-features=DiskCache (though this may not work in all versions). A more reliable approach is to use --disable-application-cache for the older app cache, but that’s deprecated. In practice, the disk cache is the main storage hog, so this flag is sufficient for most users.

Method 3: Use Incognito Mode (Partial)

Incognito mode does not completely disable caching, but it uses a temporary in-memory cache that is discarded when you close the incognito window. This means no cache is written to disk, but during the session, resources may still be cached in memory. For a full disable, you still need the DevTools method or the flag.

Common Problems and Misconceptions

Misconception: Clearing browsing data disables the cache. Clearing the cache empties it, but Chrome will immediately start rebuilding it as you browse. Disabling the cache is different—it prevents any new cache entries from being created.

Problem: The “Disable cache” checkbox doesn’t work. If you’ve checked it but still see cached responses, ensure DevTools is focused and you’re on the Network tab. Also, some service workers (a type of web worker) can serve cached content even with the cache disabled. To bypass service workers, you can check the “Bypass for network” option in the Application tab, or use a different browser profile.

Problem: The command-line flag doesn’t seem to work. Make sure you’re launching Chrome with the flag every time. If you use a shortcut, the flag must be in the Target field. Also, if Chrome is already running, you must close all instances first, because the flag only applies when Chrome starts.

Alternatives to Disabling the Cache

If you don’t want to disable the cache entirely, consider these alternatives:

  • Hard refresh: Press Ctrl+Shift+R (or Cmd+Shift+R on Mac) to bypass the cache for a single page load.
  • Clear cache for a specific site: Open DevTools, right-click the refresh button, and select “Empty Cache and Hard Reload.” This clears the cache for that site only.
  • Use a different browser profile: Create a new Chrome profile and use it for testing—it starts with an empty cache.
  • Use Chrome’s “Block” feature for specific resources: In DevTools, you can block specific URLs (like a CSS file) to see how the page behaves without them.

Frequently Asked Questions

Does disabling the cache affect website functionality?

Yes, it can slow down page loads because every resource must be downloaded again. Some sites that rely on caching for offline functionality may behave unexpectedly, but generally, websites still work—just slower.

Will disabling the cache improve my privacy?

It reduces the amount of data stored on your device, but it doesn’t stop websites from tracking you via cookies or other methods. For privacy, you’d also need to clear cookies and use a private browsing mode.

Can I disable the cache only for certain websites?

Chrome doesn’t have a built-in per-site cache toggle. You can use DevTools to disable it globally while open, or use extensions that manage cache per site, but that’s not native.

Is there a way to disable the cache on mobile Chrome?

Mobile Chrome doesn’t have a built-in option to disable the cache. You can use the “Lite mode” (which reduces data usage but doesn’t disable cache) or use a third-party browser that offers more control, but that’s outside Chrome.

Does the --disk-cache-size=0 flag also disable the memory cache?

No, it only disables the disk cache. The memory cache is still active. To disable memory cache, you can try the flag --disable-features=MemoryCache, but it’s not officially documented and may not work in all versions.