PHP Classes

CSS Stacker and Compressor: Compact several CSS files into a single file

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 564 All time: 5,408 This week: 310Up
Version License PHP version Categories
csstacker 1.3BSD License5.1.6HTTP, PHP 5, Files and Folders
Description 

Author

This class can be used to compact several CSS files into a single file.

It can take several CSS files and generate a single file by concatenating all files after having stripped any white-spaces.

The class can serve the resulting CSS file as the current script output.

The CSS may be compressed with GZIP. If the original files were not modified, the class may return HTTP status 304 to make the browser use a cached version and prevent serving a file that was not changed.

Picture of Camilo Sperberg
  Performance   Level  
Name: Camilo Sperberg <contact>
Classes: 5 packages by
Country: The Netherlands The Netherlands

  Files folder image Files  
File Role Description
Accessible without login Plain text file css.class.php Class The main class
Accessible without login Plain text file process-css.php Example Usage examples
Accessible without login Plain text file index.php Example Usage examples
Accessible without login Plain text file config.php Conf. Configuration file
Accessible without login HTML file README.html Doc. General documentation

 Version Control Unique User Downloads Download Rankings  
 0%
Total:564
This week:0
All time:5,408
This week:310Up