1
0
mirror of https://github.com/meineerde/holgerjust.de.git synced 2026-02-22 03:22:06 +00:00

Add first attempt to improve caching and compression on uberspace

This commit is contained in:
Holger Just 2015-12-06 00:03:39 +01:00
parent 82bdadacda
commit bca82f621f

13
source/.htpasswd Normal file
View File

@ -0,0 +1,13 @@
---
noindex: true
---
# Compress files on the fly
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript text/javascript
# Aggressively cache assets, rely on ETAGs for non-cache busted stuff
<LocationMatch ^/(images|javascripts|fonts|stylesheets)/>
ExpiresActive On
ExpiresDefault "access plus 1 year"
</LocationMatch>
Alias /favicon.ico /images/favicon.ico