mkjeldsen/Kodestumper/master/website-speed/gzip.htaccess - Htaccess File

mkjeldsen/Kodestumper/master/website-speed/gzip.htaccess

# WHAT'S THIS?
# A boilerplate for gzipping files via .htaccess.
#
# HOW TO USE:
# add to your existing .htaccess or create a new
# one by removing "gzip" from the file name.
#
<ifModule mod_deflate.c>
  <FilesMatch ".(js|css|html|htm|txt|svg|jpg|jpeg|png|gif|bmp)$">
    SetOutputFilter DEFLATE
  </FilesMatch>
</ifModule>

On Github License

Files

Download PDF of Htaccess file
DEFLATE

Comments

Apache