Skip to content

Instantly share code, notes, and snippets.

@akmandev
Created February 12, 2017 20:40
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akmandev/ec4ee241ad07d2974b3b7b2d9d284555 to your computer and use it in GitHub Desktop.
Save akmandev/ec4ee241ad07d2974b3b7b2d9d284555 to your computer and use it in GitHub Desktop.
Nginx disabling static file cache for local development
location / {
add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
expires off;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment