Skip to content

Instantly share code, notes, and snippets.

@2shrestha22
Created September 28, 2019 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2shrestha22/bc3265481bb9975cb03980679a93cb7f to your computer and use it in GitHub Desktop.
Save 2shrestha22/bc3265481bb9975cb03980679a93cb7f to your computer and use it in GitHub Desktop.
# Set page cache expiration time to 10 minutes
Header set Cache-Control "max-age=600, must-revalidate" "expr=%{REQUEST_URI} !~ m#^/wp-admin#"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment