Skip to content

Instantly share code, notes, and snippets.

Draven "Xarcell" Vestatt Xarcell

View GitHub Profile
@Xarcell
Xarcell / .htaccess
Last active Dec 22, 2016 — forked from jasperf/.htaccess
.htaccess boilerplate including expire headers, mod pagespeed, cache control headers, Gzip, Deflate #htaccess #seo
View .htaccess
# BEGIN Expire headers
AddDefaultCharset UTF-8
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 7200 seconds"
ExpiresByType image/x-icon "access plus 2592000 seconds"
ExpiresByType image/vnd.microsoft.icon "access plus 2592000 seconds"
ExpiresByType image/jpeg "access plus 2592000 seconds"
ExpiresByType image/png "access plus 2592000 seconds"
ExpiresByType image/gif "access plus 2592000 seconds"
You can’t perform that action at this time.