jalmenarez / minify

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

Minify needs a new default implementation #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Now that Minify is useful as a library, it should ship with an 
implementation, like V1.x's minify.php, that can be dropped inside 
DOC_ROOT and quickly configured to get to work.

Goals
 * easy to configure cache folder / groups
 * easily limit source directories (any within DOC_ROOT by default)
 * disable base dir in V1 style urls by default
 * easy to disable V1 style urls altogether

File layout
 * front end: min/index.php
 * min/?f=js/file1.js,js/file2.js (like Version1)
 * min/?g=js (use Groups, if defined)
 * min/?b=js&f=file1.js,file2.js (allow a base dir)
 * main config: min/config.php
 * groups config: min/groupsConfig.php

Original issue reported on code.google.com by mrclay....@gmail.com on 31 Jul 2008 at 8:05

GoogleCodeExporter commented 9 years ago
Working in R167! I think, for simplicity, the default install will have "lib" 
as a 
subdirectory of "min". That way you can just drop "min" in DOCUMENT_ROOT and 
it'll 
Just Work. If you want to put "lib" somewhere else, you certainly can, but all 
the 
class files are safe within DOC_ROOT now.

I also want Issue 44 resolved before I close this.

Original comment by mrclay....@gmail.com on 12 Aug 2008 at 2:05

GoogleCodeExporter commented 9 years ago
R178 has "lib" inside "min". Left to do:

 * Rename "web" to "min_extras" (to complement min) and reorganize.
 * Create min/USAGE.txt with simple instructions

Original comment by mrclay....@gmail.com on 19 Aug 2008 at 4:19

GoogleCodeExporter commented 9 years ago
This seems wrapped up with R219.

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