BossKwei/BossKwei.github.io/master/.htaccess
# -----------------------------------------------------------------------------
# Let Site handle 404s
# -----------------------------------------------------------------------------
ErrorDocument 404 /404.html
# -----------------------------------------------------------------------------
# CACHE HEADERS
# -----------------------------------------------------------------------------
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 hour"
ExpiresByType image/jpeg "access 1 hour"
ExpiresByType image/gif "access 1 hour"
ExpiresByType image/png "access 1 hour"
ExpiresByType text/css "access 1 hour"
ExpiresByType application/pdf "access 1 hour"
ExpiresByType text/x-javascript "access 1 hour"
ExpiresByType application/x-shockwave-flash "access 1 hour"
ExpiresByType image/x-icon "access 1 hour"
ExpiresDefault "access 1 hour"
</IfModule>
## END Expire headers
## BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<FilesMatch "\.(ico|jpe?g|png|gif|swf|gz|ttf|svg)$">
Header set Cache-Control "max-age=3600, public"
</FilesMatch>
<FilesMatch "\.(css)$">
Header set Cache-Control "max-age=3600, public"
</FilesMatch>
<FilesMatch "\.(js)$">
Header set Cache-Control "max-age=3600, private"
</FilesMatch>
</IfModule>
On Github License
Files