Gzip JS - Htaccess


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

This is the htaccess you have to use with the script for gzip js files.


Copy this code and paste it in your HTML
  1. AddHandler application/x-httpd-php .js
  2. php_value auto_prepend_file zipjs.php
  3. php_flag zlib.output_compression On

Report this snippet


Comments


You need to login to view comments.