Elan Ruusamäe
|
b17c00c05c
|
Make code symmetric: Check on ConditionalGet as well
This partly reverts 5705fc9d899843fe8f6b6e0d361ccf01974b34a1
|
2020-07-12 10:34:01 +03:00 |
|
Elan Ruusamäe
|
b31855f6b8
|
Apply php-cs-fixer fixers
- braces
- function_declaration
- lowercase_keywords
- method_argument_space
- no_spaces_inside_parenthesis
- no_trailing_whitespace
- no_trailing_whitespace_in_comment
- single_blank_line_at_eof
|
2020-04-03 10:47:27 +03:00 |
|
robbykrlos
|
5705fc9d89
|
Function get_magic_quotes_gpc() is now deprecated in PHP 7.4 #661
- removed deprecated function that since PHP 5.4.0 returns FALSE always, and since PHP 7.4 is deprecated.
|
2020-03-06 19:20:17 +02:00 |
|
Csaba Hete
|
bd7d1077b3
|
set "Vary: Accept-Encoding" header only if encoding is set and not empty
|
2018-11-06 19:24:25 +01:00 |
|
Steve Clay
|
532a010e0e
|
Parse LastModified date without requiring global timezone
|
2017-04-03 16:01:21 -04:00 |
|
Elan Ruusamäe
|
5fb7ea1ed1
|
phpcs: enable psr2
|
2016-10-16 18:51:49 +03:00 |
|
Elan Ruusamäe
|
379feaba99
|
do some trivial codestyle fixes
unix newlines, trailing spaces
|
2016-01-22 00:38:12 +02:00 |
|
Steve Clay
|
e596b35fc4
|
Collapse "min" into project root and get unit tests working.
Fixes #472
|
2015-09-28 15:39:25 -04:00 |
|
Steve Clay
|
51adb91399
|
Moved "lib" into "min" for easiest deployment
|
2008-08-19 03:58:28 +00:00 |
|
Steve Clay
|
8de36cc08f
|
Clarified comment.
|
2008-07-24 00:51:54 +00:00 |
|
Steve Clay
|
3ddc831f20
|
Completed HTTP_ConditionalGet change to accept 'maxAge' not prevent conditional GETs. Also 304 responses now have the full Cache-Control/Last-Modified/ETag headers so max-age will be honored after each 304 response.
|
2008-07-22 23:05:06 +00:00 |
|
Steve Clay
|
3f5c9f4de0
|
Added 'maxAge' option (removed 'setExpires') and changed behavior so that conditional GET is still implemented when max-age/Expires is sent.
|
2008-07-22 20:43:27 +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
|
fb4ecd2231
|
Moved HTTP examples into web/test
|
2008-05-15 15:20:33 +00:00 |
|
Steve Clay
|
a714255c69
|
+ Minify/Build.php and example 2 showing use
|
2008-03-27 18:51:55 +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
|
a0d48f16fb
|
Optimized header sniffing in Encoder.php; no more regex's needed for most browsers. Updated README w/r/t test suite update.
|
2008-03-05 14:56: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
|
023066ad0a
|
option changed to "setExpires"
default missing minifier is none (no minification performed)
|
2008-02-29 22:18:16 +00:00 |
|
Steve Clay
|
0a939d4f91
|
V1.9.0 overhaul
|
2008-02-28 18:42:56 +00:00 |
|