Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 544 All time: 5,026 This week: 1,546Up
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
Name: Camilo Sperberg <contact>
Classes: 8 packages by
Country: The Netherlands The Netherlands
Age: 32
All time rank: 87127 in The Netherlands The Netherlands
Week rank: 77 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:544All time:5,026
 This week:0This week:1,546Up