1

I want Google Chrome to stop caching my localhost since I change its files so often. How do I do this?

I see it can be done while opening the dev tools here: Clear cache for specific domain name in chrome

However, I'm looking for a solution that does not require the dev tools to remain open.

I am running WEBrick, a rails server, on localhost and would be happy to tell it not to cache files in any browser.

Eric Baldwin
  • 141
  • 2
  • 4
  • 1
    Are you willing to consider an alternative method: Configuring your web server to tell *all* browsers (not just chrome) not to cache pages on your site? If so, please edit your question to include which web server you are running on your localhost. – lzam Sep 18 '14 at 02:33
  • 1
    Using [the keyboard shortcut Ctrl-F5 is a simple way to force a cache refresh][1]. [1]: http://stackoverflow.com/a/385384/325251 – mvark Sep 19 '14 at 08:10

0 Answers0