ZF-6051: Zend_Cache compressing output

Issue Type: Improvement Created: 2009-03-17T23:33:06.000+0000 Last Updated: 2009-12-02T06:21:24.000+0000 Status: Closed Fix version(s): Reporter: Maxime (maxime) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Cache

Related issues: Attachments: -


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


Posted by Maxime (maxime) on 2009-03-18T00:41:38.000+0000

This can be helpful :…

Posted by Michael Contento (kaffeefleck) on 2009-03-18T01:20:35.000+0000

AFAIK the best compressor for CSS/JS is YUI ->

Posted by Maxime (maxime) on 2009-04-02T02:12:43.000+0000


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.


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;

  1. Zend_Cache_Backend_Compression…
  2. Zend_Compress…

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.