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:
parent
82bdadacda
commit
bca82f621f
13
source/.htpasswd
Normal file
13
source/.htpasswd
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user