EvanDotPro / EdpSuperluminal

This module caches the common Zend\* classes used by your application into a single cache file, reducing reliance on the autoloader. This greatly improves the performance of ZF2.
BSD 2-Clause "Simplified" License
170 stars 45 forks source link

Minify the resulting file #6

Closed tomasfejfar closed 12 years ago

tomasfejfar commented 12 years ago

I tried to port your module to ZF1 and it quite works - needs some more testing though.

I noticed that the resulting file can be so big, it actually slows some pages down (just because of HDD read speed - 12MB file on 30MB/s drive takes 500ms). I used php's php_strip_whitespace function. The resulting file was much smaller and it improved the load speed on my 5400rpm drive. I have not tested it on performant server HDD.

EvanDotPro commented 12 years ago

This is a good idea -- I'll incorporate php_strip_whitespace while I do some other updates to get this module working again.

EvanDotPro commented 12 years ago

Done -- thanks!