Is there a way to disable cache per domain? if not, here is the case for it

927 views
Skip to first unread message

willi...@gmail.com

unread,
Aug 30, 2012, 1:48:32 PM8/30/12
to google-chrome-...@googlegroups.com
So as a web developer you often find yourself needing to turn caching off to make sure you are getting the most updated version of the files of your site.

But its sucks when you are just regualrly surfing because the "Disable cache" in the chrome dev tools is all or nothing.  This slows the whole web expirence Google has fought so hard to speed up way down.


To preempt a few stock answers:
  1. Incognito mode isn't desirable because you lose all session data if you close the window. It would be nice like to not have to constantly log back into the site just to make sure it doesn't cache
  2. Ctrl + F5 (or ctrl+ shift + r on mac) is frustrating to have to remember to do all the time and then you have to bang your head against wall when you've forgotten and spent 20 minutes wondering why something didn't reload... and isn't consistent about reloading all the time

Paul Irish

unread,
Aug 31, 2012, 11:46:49 AM8/31/12
to willi...@gmail.com, google-chrome-...@googlegroups.com
In fact, Disable cache is only in effect while the DevTools are visible.
(Same with Disable JavaScript and other settings)

This isn't well known.. so.. does it assuage your concerns?

willi...@gmail.com

unread,
Sep 6, 2012, 1:44:29 AM9/6/12
to google-chrome-...@googlegroups.com, willi...@gmail.com
Hmm... didn't know that.

My question sounds silly with that info. 

And I guess as far as my original concern yes. Though I do wish this was better advertised.


But this makes me curious about another thing...

If I have that box ticked in the dev tools preferences and I open and then close the tools will files not load from cache the life of that tab ?

or only when the dev tools is open?

Thanks,
Will

Paul Irish

unread,
Sep 6, 2012, 1:55:45 AM9/6/12
to willi...@gmail.com, google-chrome-...@googlegroups.com

If I have that box ticked in the dev tools preferences and I open and then close the tools will files not load from cache the life of that tab ?
or only when the dev tools is open?


Files will not be loaded from cache only while the tools are open, yup. :)



We were considering adding a small message to tell people that these settings are only in action during visible devtools, tried a few variations though the UX wasn't awesome.

willi...@gmail.com

unread,
Sep 13, 2012, 3:39:21 PM9/13/12
to google-chrome-...@googlegroups.com, willi...@gmail.com
Ah cool. Thanks for the "behind the scenes" look.
Reply all
Reply to author
Forward
0 new messages