1
0
mirror of https://github.com/mrclay/minify.git synced 2025-02-23 00:12:36 +01:00

19 Commits

Author SHA1 Message Date
Steve Clay
e77a1cf82c Added 'debug' option to serve() to use Minify_Lines 2008-06-28 20:23:29 +00:00
Steve Clay
4f615c12f3 Moved file caching to Minify_Cache_File.
Removed Cache_Lite.
Deprecated UseServerCache() in favor of setCache().
Added Groups controller to ab tests.
2008-06-22 15:08:30 +00:00
Steve Clay
d9c75da506 phpDoc now works. Started to improve docblocks. 2008-06-18 11:44:39 +00:00
Steve Clay
bf935a9895 Default charset now UTF-8. Easier ab tests config. 2008-06-09 23:29:38 +00:00
Steve Clay
4c85da1fb3 Added/improved ab tests. Prepended "minify_" to cache filenames. 2008-06-09 20:30:11 +00:00
Steve Clay
60f001c425 Rewrote Minify::serve() to use built-in cache functions and send cached output with readfile() = huge perf increase. Also only returns array iff quiet is set. Removed a few options.
Encoder.php : added option to leave out compress
Fixed unit tests for new Minify behavior and to show verbose when called directly on Windows.
2008-06-08 13:24:23 +00:00
Steve Clay
930ad768cf + E_STRICT compliance 2008-06-01 02:52:59 +00:00
Steve Clay
cd0675f490 + Solar_Dir for better PHP compat. Moved most of minify.php code to Controller/Version1.php. + a few tests for version1/minify.php 2008-03-27 16:04:45 +00:00
Steve Clay
c15acc8782 + test_HTTP_ConditionalGet.php, phpDoc improvements, moved packer to 3rd-party, test for Minify loading fewer files for 304 responses. 2008-03-05 22:59:23 +00:00
Steve Clay
e2ad73f8be Improved/added tests, deflate preferred over gzip, improved ConditionalGet docs 2008-03-04 17:04:09 +00:00
Steve Clay
e8ac1dc8d0 Perf update for JSmin (Minify_Javascript), + phpDocs for public HTTP_* class APIs, minor Minify fix, private members changed to protected to allow easier subclassing. 2008-03-03 16:23:39 +00:00
Steve Clay
7a3d7129b4 + HTTP_ConditionalGet_Build directory change monitor, + post-processing hook in Minify (for appending timestamps to URIs, etc.) 2008-03-02 04:59:13 +00:00
Steve Clay
d86d79b7d2 + URI rewriter in CSS min, fix for protocol-relative URIs, + partial minify.php compatibility 2008-03-01 20:23:50 +00:00
Steve Clay
381bd8856d Controllers now supply all options and are easier to write! serve() returns more useful info and needs only one option array for both controller/minify options. 2008-03-01 15:08:38 +00:00
Steve Clay
7e9bf6d948 More thorough test_Minify.php
Better var/method naming.
2008-03-01 04:56:11 +00:00
Steve Clay
f46e321831 added 'quiet' option. and now serve() and handleRequest() return an array of output content and headers. 2008-02-29 23:59:50 +00:00
Steve Clay
023066ad0a option changed to "setExpires"
default missing minifier is none (no minification performed)
2008-02-29 22:18:16 +00:00
Steve Clay
99c5af660b Docs update 2008-02-29 01:36:05 +00:00
Steve Clay
0a939d4f91 V1.9.0 overhaul 2008-02-28 18:42:56 +00:00