jalmenarez / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

emulate minify.php v1 in v2 #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Before a v2 release it'd be Really Nice to have a v2-based minify.php
script that behaved identically to v1. This would given current users a
simple upgrade path and (more importantly) give us a way to directly
compare speed between v1 and v2.

My hunch is, with more files involved, initial minification may be slightly
slower in v2, but 304 and serve-from-cache requests will be very close, if
not faster with all the lazy loading.

Original issue reported on code.google.com by mrclay....@gmail.com on 29 Feb 2008 at 12:06

GoogleCodeExporter commented 9 years ago
See /web/version1/minify.php and /lib/Minify/Controller/Version1.php
Probably needs a real test suite, but it seems to work.

Original comment by mrclay....@gmail.com on 14 May 2008 at 4:53

GoogleCodeExporter commented 9 years ago
I no longer see exact V1 compatibility as necessary. The "min" app in R219 uses 
the 
Version1 controller and accepts similar URLs, but anyone succefully using v1 
can 
just stick with it or install v2.1 next to it and alter some rewrite rules.

Original comment by mrclay....@gmail.com on 11 Sep 2008 at 8:45