Created
April 1, 2020 08:33
-
-
Save chrisvasey/df4402909448c5a32612995995515c81 to your computer and use it in GitHub Desktop.
Nginx Leverage Browser Cache
This file contains 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 ~* \.(jpg|jpeg|png|gif|ico|css|js)$ { | |
expires 365d; | |
} | |
location ~* \.(pdf)$ { | |
expires 30d; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment