Minify the resulting file
tomasfejfar opened this issue · 2 comments
tomasfejfar commented
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
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
Done -- thanks!