Skip to content

Instantly share code, notes, and snippets.

View Xarcell's full-sized avatar

Draven "Xarcell" Vestatt Xarcell

View GitHub Profile
@Xarcell
Xarcell / .htaccess
Last active December 22, 2016 03:34 — forked from jasperf/.htaccess
.htaccess boilerplate including expire headers, mod pagespeed, cache control headers, Gzip, Deflate #htaccess #seo
# 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"