# Append this to bottom of Silverstripe htaccess file

### Chris Bolt Begin ###

# Caching
# 1 WEEK
<IfModule mod_headers.c>
	<FilesMatch "\.(jpg|jpeg|png|gif|swf|pdf|js|css|html|eot|svg|ttf|woff)$">
		Header set Cache-Control "max-age=604800, public"
	</FilesMatch>
</IfModule>
# End Caching

# Gzip compress javascript and css files
<IfModule mod_deflate.c>
	AddType image/svg+xml .svg
	AddOutputFilterByType DEFLATE text/css application/x-javascript application/javascript text/javascript image/svg+xml
</IfModule>
# End Gzip

# Hide git
RedirectMatch 404 /\.git

### End Chris Bolt ###