gz html files

This commit is contained in:
Chris Croome 2018-12-15 19:48:45 +00:00
parent 733e9e4f98
commit 818f4e4dc5
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ AddType image/png;qs=0.8 png
# https://kevinlocke.name/bits/2012/07/20/serving-xhtml-with-apache-multiviews/
Header always edit "Content-Type" ";\s*qs=[0-9]*(?:\.[0-9]+)?\s*" ""
# Gzip these file types
AddOutputFilter DEFLATE html
AddOutputFilter DEFLATE svg
AddOutputFilter DEFLATE css
AddOutputFilter DEFLATE js