Created
February 10, 2017 22:28
-
-
Save mwordpress/7cef67aa89dff437725866658afc7a43 to your computer and use it in GitHub Desktop.
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
# BEGIN supercache | |
<IfModule mod_mime.c> | |
<FilesMatch "\.html\.gz$"> | |
ForceType text/html | |
FileETag None | |
</FilesMatch> | |
AddEncoding gzip .gz | |
AddType text/html .gz | |
</IfModule> | |
<IfModule mod_deflate.c> | |
SetEnvIfNoCase Request_URI \.gz$ no-gzip | |
</IfModule> | |
<IfModule mod_headers.c> | |
Header set Cache-Control "max-age=300, must-revalidate" | |
</IfModule> | |
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresByType text/html A300 | |
</IfModule> | |
# END supercache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment