chiark
/
gitweb
/
~bjharris
/
bedstead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b51e2a4
)
Enable "deflate" filter for XHTML and fonts in .htaccess
author
Ben Harris
<bjh21@bjh21.me.uk>
Sat, 18 Oct 2025 16:31:40 +0000
(17:31 +0100)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Sat, 18 Oct 2025 16:31:40 +0000
(17:31 +0100)
The configuration on chiark already compresses most HTML content
types, and OTF fonts (especially Bedstead) are very compressible.
.htaccess
patch
|
blob
|
history
diff --git
a/.htaccess
b/.htaccess
index 22a6186d5f586b6742ec1c8c7c9521bc76f2958b..48d2016328561e647decdd59ceb49bd2fe1f140f 100644
(file)
--- a/
.htaccess
+++ b/
.htaccess
@@
-1,3
+1,4
@@
DirectoryIndex index.xhtml
AddType application/xhtml+xml;charset=UTF-8 .xhtml
AddType font/otf;outlines=CFF .otf
+AddOutputFilterByType DEFLATE application/xhtml+xml font/otf