Use compressed js and css files for sites


/ Published in: Apache
Save to your folder(s)



Copy this code and paste it in your HTML
  1. # Compressed javascript files
  2. AddEncoding x-gzip .jgz
  3. AddType application/x-javascript .jgz
  4.  
  5. # Compressed css files
  6. AddEncoding x-gzip .cgz
  7. AddType text/css .cgz

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.