资 源 简 介
Introduction
Compress is a small, simple PHP script that allows your PHP scripts running on Apache to
directly serve combined, pre-gzipped and minified JS and CSS fileswith no server overhead for deflating or gzipping the file each time it is served.
This script combines, minifies and gzips Javascript and Cascading Style Sheet files in batch mode.Each combined group of JS or CSS files creates two output files:
Minified
Minified and Gzipped
Reasons for using:
You want to speed up your page loading
You want to reduce server overhead by eliminating server calls and decreasing the number of bytes transmitted.
You are serving more than one JS or CSS file per page.
Your JS and CSS are not minified and/or not GZipped
Your Host server does not support or implement mod_pagespeed
Your Host server does not support/implement by default gzip or deflate for js or