Closed (fixed)
Project:
Support File Cache
Version:
5.x-1.1-a
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2008 at 08:11 UTC
Updated:
6 Mar 2009 at 19:50 UTC
I just came across js-min. It allows for compressing jscript, even from php. That would make the jscript compression much easier than it is now.
Comments
Comment #1
kkaefer commentedWhile a PHP solution would indeed be nice, they are not as reliable as YUICompressor or Dojo Compressor. Most other solutions compress the JavaScript code with string manipulations (removing whitespace and so on), which may cause problems in certain edge cases. YUICompressor however *parses* the JavaScript code (using Mozilla's Rhino) and then outputs the tokenized version of the code without whitespace.
Comment #2
kkaefer commentedAdded in 5.x-dev.