janispagel.de

Source code for https://janispagel.de
Log | Files | Refs | README | LICENSE

commit 550166a87ecc7f9c5716420973a26913603921ef
parent 7b39edd094739a8dfbf5ff7c60c9ff5239ffda12
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Fri, 26 Jun 2020 16:36:47 +0200

Add special file types to gzip compression

Diffstat:
M.htaccess | 2+-
Mdeploy.sh | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.htaccess b/.htaccess @@ -10,7 +10,7 @@ AddCharset utf-8 .html .txt .bib .ris <ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes -mod_gzip_item_include file .(html?|txt|css|js|php|pl)$ +mod_gzip_item_include file .(html?|txt|css|js|php|pl|asc|bib|ris)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* diff --git a/deploy.sh b/deploy.sh @@ -1,4 +1,4 @@ echo "Deploying..." -rsync -r --delete-after _site/* homepage: +rsync -r --delete-after _site/* .htaccess homepage: git push origin master echo "...Done"