ZF-6051: Zend_Cache compressing output
Description
When you cache some html, css, javascript data, you store them as they were created : with spaces, comments, new and empty lines, very long names for css classes or javascript's variables. I think we can improve Zend_Cache : we should be able to compress cached data. I don't think about gzip, but for example, something like Dojo Shrinksafe for javascript : - delete unneeded spaces and lines - delete comments - change size of variable
Comments
Posted by Maxime (maxime) on 2009-03-18T00:41:38.000+0000
This can be helpful : http://svn.fckeditor.net/FCKpackager/trunk/…
Posted by Michael Contento (kaffeefleck) on 2009-03-18T01:20:35.000+0000
AFAIK the best compressor for CSS/JS is YUI -> http://www.julienlecomte.net/yuicompressor/
Posted by Maxime (maxime) on 2009-04-02T02:12:43.000+0000
Hello,
This is some new code to add to ZF. It extends ZF_Cache in order to compress data. A doc file explains how it works.
I hope it can be integrated to a next ZF release.
Regards.
Posted by Maxime (maxime) on 2009-07-17T09:52:12.000+0000
Can this compress feature be added to ZF ? How can i help to do this ?
Posted by Fabien MARTY (fab) on 2009-07-17T11:01:29.000+0000
change Assignee because I'm inactive now
Posted by Satoru Yoshida (satoruyoshida) on 2009-12-02T06:21:23.000+0000
I find the 2 proposals here;
Zend_Cache_Backend_Compression http://framework.zend.com/wiki/display/…
Zend_Compress http://framework.zend.com/wiki/display/…