Skip to content

Instantly share code, notes, and snippets.

@yellowled
Created April 1, 2013 14:35
Show Gist options
  • Save yellowled/5285270 to your computer and use it in GitHub Desktop.
Save yellowled/5285270 to your computer and use it in GitHub Desktop.
gzip aktivieren auf Uberspace
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/atom+xml \
application/javascript \
application/json \
application/rss+xml \
application/vnd.ms-fontobject \
application/x-font-ttf \
application/xhtml+xml \
application/xml \
font/opentype \
image/svg+xml \
image/x-icon \
text/css \
text/html \
text/plain \
text/x-component \
text/xml
</IfModule>
@dlaxar
Copy link

dlaxar commented Oct 5, 2013

Maybe add text/javascript somewhere. I know that the correct type would be application/javascript but a whole lot of people use text/javascript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment