Created
February 12, 2017 20:40
-
-
Save akmandev/ec4ee241ad07d2974b3b7b2d9d284555 to your computer and use it in GitHub Desktop.
Nginx disabling static file cache for local development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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