Skip to content

Instantly share code, notes, and snippets.

@manfe
Created October 11, 2019 21:27
Show Gist options
  • Save manfe/12cb71df182b600a5d02d16e8b587870 to your computer and use it in GitHub Desktop.
Save manfe/12cb71df182b600a5d02d16e8b587870 to your computer and use it in GitHub Desktop.
Adicionando Cache no NGINX
location ~* .(js|jpg|jpeg|gif|png|css|tgz|gz|rar|bz2|doc|pdf|ppt|tar|wa$
expires 30d;
add_header Pragma "public";
add_header Cache-Control "public";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment