Created
June 6, 2020 19:28
-
-
Save hasinhayder/255352c9deaf67304765da2cd46b41ea to your computer and use it in GitHub Desktop.
Apache 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
### marker BROWSER CACHE start ### | |
<IfModule mod_expires.c> | |
ExpiresActive on | |
ExpiresByType application/pdf A31557600 | |
ExpiresByType image/x-icon A31557600 | |
ExpiresByType image/vnd.microsoft.icon A31557600 | |
ExpiresByType image/svg+xml A31557600 | |
ExpiresByType image/jpg A31557600 | |
ExpiresByType image/jpeg A31557600 | |
ExpiresByType image/png A31557600 | |
ExpiresByType image/gif A31557600 | |
ExpiresByType image/webp A31557600 | |
ExpiresByType video/ogg A31557600 | |
ExpiresByType audio/ogg A31557600 | |
ExpiresByType video/mp4 A31557600 | |
ExpiresByType video/webm A31557600 | |
ExpiresByType text/css A31557600 | |
ExpiresByType text/javascript A31557600 | |
ExpiresByType application/javascript A31557600 | |
ExpiresByType application/x-javascript A31557600 | |
ExpiresByType application/x-font-ttf A31557600 | |
ExpiresByType application/x-font-woff A31557600 | |
ExpiresByType application/font-woff A31557600 | |
ExpiresByType application/font-woff2 A31557600 | |
ExpiresByType application/vnd.ms-fontobject A31557600 | |
ExpiresByType font/ttf A31557600 | |
ExpiresByType font/woff A31557600 | |
ExpiresByType font/woff2 A31557600 | |
</IfModule> | |
### marker BROWSER CACHE end ### |
AddType font/woff2 .woff2
AddType font/ttf .ttf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
a2enmod headers
a2enmod expires