PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2010-01-28 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 552 All time: 5,213 This week: 1,125Up
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: 8 packages by
Country: The Netherlands The Netherlands
Age: 34
All time rank: 76623 in The Netherlands The Netherlands
Week rank: 153 Up6 in The Netherlands The Netherlands Up

  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:552
This week:0
All time:5,213
This week:1,125Up