Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

Chrome Cache Size Limit: Hidden Setting That Saves You GBs of Storage

Explore 'Chrome Cache Size Limit: Hidden Setting That Saves You GBs of Storage' with a clear overview, practical guidance, and the key details that matter.

Table of Contents

This guide provides a clear, practical overview of "Chrome Cache Size Limit: Hidden Setting That Saves You GBs of Storage". It organizes the most useful details, explains important considerations, and highlights the steps or choices that matter most.

Use command line flags to set Chrome cache size

Before you limit Chrome's cache, you should check how much space it's currently using. This gives you a baseline to work from (and will show you which sites are hogging your storage space!).

Use command line flags to set Chrome cache size screenshot

You can find the size of your Chrome cache by typing chrome://settings/content/all into the address bar. You can then select any website and check its usage. Alternatively, you can navigate to the folder in File Explorer:

C:UsersPCAppDataLocalGoogleChromeUser Data

Then go to your Chrome profile folder and check the size of the cache folder directly.

The simplest way to limit the cache size is via a command line flag. This method does not require any registry modifications. Here is how to set it up:

  1. Right-select the Chrome desktop shortcut and select Properties .
  2. Go to the Shortcut tab.
  3. In the Target field, add --disk-cache-size=209715200 at the end.
  4. Make sure there is a space before the double dash.
  5. Click Apply > OK .
  6. Restart Chrome for changes to take effect.

Use command line flags to set Chrome cache size screenshot Use command line flags to set Chrome cache size screenshot

Note : The number 209715200 represents bytes and is equal to 200MB. You can adjust this number based on your needs using a unit converter like Convert Units - people usually prefer 400MB (419430400) for heavy web browsing sessions.

This is useful if you've been experiencing excessive RAM usage with Chrome, as limiting the cache can reduce overall resource consumption. The cache limit is applied every time you launch Chrome through that particular shortcut.

Force Chrome Cache Limit via Windows Registry

If the command line flag doesn't work for your setup, the Windows Registry offers a more permanent solution. This method applies the cache limit system-wide, regardless of how you launch Chrome.

First, you need to have access to the Registry Editor - if it's disabled, see our guide on how to enable Registry Editor access.

Tip : Always back up the registry before making changes, as even one wrong edit can cause system crashes.

Here is the step-by-step procedure to force Chrome cache limit via Windows Registry:

  1. Open the Run dialog box by pressing Windows + R and typing regedit , then pressing Enter.
  2. Navigate to ComputerHKEY_LOCAL_MACHINESOFTWAREGoogleChrome.
  3. If the "Google" or "Chrome" folder doesn't exist, create them by right-clicking and selecting New > Key.
  4. Right-click the Chrome folder and select New > DWORD (32-bit) Value .
  5. Name it DiskCacheSize.
  6. Double select the new entry and set the value to the desired cache size in bytes.
  7. Select Decimal as the base and enter 209715200 for 200MB.
  8. Click OK and restart Chrome to apply the changes.

Force Chrome Cache Limit via Windows Registry illustration Force Chrome Cache Limit via Windows Registry illustration

Many people choose 419430400 (400MB). The registry method will override any previously set command line flags, making it the system-definable cache limit. It is also useful for managed environments where you want a consistent cache limit across all users.

People like this approach because it only requires one-time setup. Once configured, every instance of Chrome respects the limit without any special shortcuts or parameters.

Check if cache limit is actually working

Setting cache limits is pointless if they don't work. The easiest way to verify is to check the cache folder size directly. Navigate to the following path in File Explorer:

C:UsersPCAppDataLocalGoogleChromeUser Data

Then go into your Chrome profile folder and check the size of the Cache folder. During normal browsing sessions, the Cache folder size should never exceed the limit you set - if it does, your profile won't work.

Check if cache limit is actually working illustration

If the limit doesn't work, double-check your command line syntax or registry entries. A typo in the target field or incorrect data type in the registry can break things. Additionally, some Chrome extensions can interfere with the cache limit; try disabling them temporarily if you're having trouble.

Chrome's default caching behavior never made sense. These methods work well, but honestly, Chrome should have this setting by default. Until Google adds a built-in cache limit option, these workarounds will effectively solve the storage problem. Hopefully future updates will make this process more user-friendly.

FAQ

What should you know about use command line flags to set Chrome cache size?

Before you limit Chrome's cache, you should check how much space it's currently using. This gives you a baseline to work from (and will show you which sites are hogging your storage space!).

What should you know about force Chrome Cache Limit via Windows Registry?

If the command line flag doesn't work for your setup, the Windows Registry offers a more permanent solution. This method applies the cache limit system-wide, regardless of how you launch Chrome.

What should you know about check if cache limit is actually working?

Setting cache limits is pointless if they don't work. The easiest way to verify is to check the cache folder size directly. Navigate to the following path in File Explorer:

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.