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
StarStarStarStar 63%Total: 565 This week: 1All time: 5,412 This week: 560Up
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
Age: 41
All time rank: 75520 in The Netherlands The Netherlands
Week rank: 411 Up9 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:565
This week:1
All time:5,412
This week:560Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:58%StarStarStar
Documentation:75%StarStarStarStar
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:814