Skip to content

Instantly share code, notes, and snippets.

@AndrewPix
Last active August 22, 2016 13:54
Show Gist options
  • Save AndrewPix/93bedbdb8ea401b19d926438d322b02e to your computer and use it in GitHub Desktop.
Save AndrewPix/93bedbdb8ea401b19d926438d322b02e to your computer and use it in GitHub Desktop.
Google Chrome

When you press F5 in Chrome, it will always send requests to the server. These will be made with the Cache-Control:max-age=0 header. The server will usually respond with a 304 (Not Changed) status code.

When you press Ctrl+F5 or Shift+F5, the same requests are performed, but with the Cache-Control:no-cache header, thus forcing the server to send an uncached version, usually with a 200 (OK) status code.

If you want to make sure that you're utilizing the local browser cache, simply press Enter in the address bar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment