Disable Cache on Google Chrome

It took a while to nail this down. There are a few plug-ins for Google Chrome but, from looking at various forum posts, they seem to be unreliable. I eventually ended up running Google Chrome with two command line options as follows: –

--disk-cache-dir=null
--disk-cache-size=0

I’ve been using this for a while now, and it seems to work quite nicely

To add command line options on Windows, look here

To add the same cache disable from within Visual Studio code, add the following to your launch.json: –

"runtimeArgs": [
    "--disk-cache-dir=null",
    "--disk-cache-size=0"
]

 

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: