Skip to content

cecilomar/CssCompressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

CssCompressor

A PHP script that compresses CSS on the fly. The compressed stylesheets are then cached and stored in a file. The next time that the CSS is loaded, instead of compressing it again, the script will forward the cached contents. The script checks if the original file has been updated. If so, it will compress and cache a new file. I created this script in order to use it in combination with a .htaccess REWRITE rules to compress every single stylesheet in my website.

About

A PHP script that compresses CSS on the fly but at the same time uses cache files. The cache files are automatically generated as soon as the CSS that need compression is updated. I created this script in order to use it in combination with a .htaccess REWRITE rules to compress every single stylesheet in my website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages