3con / minify

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

Minify not working #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of Minify are you using? PHP version?
Minify Vertion 2.o.1 and php version 5.1.6

What steps will reproduce the problem?
1. When I browse example site http://www.domain.com/web/examples/1/
2.
3.

What is the expected output? What do you see instead?
I am getting this error.
Minify Example 1 : Groups controller + Far-off Expires header

In this example, we use a single config file _groupsSources.php to specify
files for minification. During HTML generation, Minify_Build is used to
stamp the latest modification times onto the minify URLs. Our minify
server, m.php, then sends the content with far-off Expires headers.

If one of our sources is modified, its URL (particularly the query string)
is changed in the HTML document, causing the browser to request a new version.
Minify tests

    * FAILPASS
    * FAIL

Test client cache

Reload page (F5 can trigger no-cache headers)

Please provide any additional information below.
I have done other test like 
http://www.domain.com/web/test/test_all.php It show everything fine.
PASS: Minify : 304 response (1 of 1 tests run so far have passed)
PASS: File.php, Encoder.php, CSS.php not loaded (2 of 2 tests run so far
have passed)
PASS: Minify : JS and Expires (3 of 3 tests run so far have passed)
PASS: Minify : CSS and Etag/Last-Modified (4 of 4 tests run so far have passed)
PASS: Minify_Javascript (5 of 5 tests run so far have passed)
PASS: Minify_Javascript (6 of 6 tests run so far have passed)
PASS: Minify_CSS : comments (7 of 7 tests run so far have passed)
PASS: Minify_CSS : hacks (8 of 8 tests run so far have passed)
PASS: Minify_CSS : paths (9 of 9 tests run so far have passed)
PASS: Minify_CSS : styles (10 of 10 tests run so far have passed)
PASS: Minify_CSS : subsilver (11 of 11 tests run so far have passed)
PASS: Minify_HTML (12 of 12 tests run so far have passed)
PASS: Minify_Build : single file path (13 of 13 tests run so far have passed)
PASS: Minify_Build : multiple file paths (14 of 14 tests run so far have
passed)
PASS: Minify_Build : file path and a Minify_Source (15 of 15 tests run so
far have passed)
PASS: Minify_Build : uri() with no querystring (16 of 16 tests run so far
have passed)
PASS: Minify_Build : uri() with existing querystring (17 of 17 tests run so
far have passed)
PASS: HTTP_Encoder : recognize "x-gzip" as gzip (18 of 18 tests run so far
have passed)
PASS: HTTP_Encoder : gzip w/ non-zero q (19 of 19 tests run so far have passed)
PASS: HTTP_Encoder : gzip w/ zero q (20 of 20 tests run so far have passed)
PASS: HTTP_Encoder : IE6 w/o "enhanced security" (21 of 21 tests run so far
have passed)
PASS: HTTP_Encoder : IE6 w/ "enhanced security" (22 of 22 tests run so far
have passed)
PASS: HTTP_Encoder : IE5.5 (23 of 23 tests run so far have passed)
PASS: HTTP_Encoder : Opera identifying as IE6 (24 of 24 tests run so far
have passed)
PASS: HTTP_Encoder : deflate -> 32157(30.10%) (25 of 25 tests run so far
have passed)
PASS: HTTP_Encoder : gzip -> 32175(30.12%) (26 of 26 tests run so far have
passed)
PASS: HTTP_Encoder : compress -> 32211(30.15%) (27 of 27 tests run so far
have passed)
PASS: HTTP_ConditionalGet : client has valid If-Modified-Since (28 of 28
tests run so far have passed)
PASS: HTTP_ConditionalGet : client has valid If-Modified-Since with
trailing semicolon (29 of 29 tests run so far have passed)
PASS: HTTP_ConditionalGet : client has valid ETag (30 of 30 tests run so
far have passed)
PASS: HTTP_ConditionalGet : no conditional get (31 of 31 tests run so far
have passed)
PASS: HTTP_ConditionalGet : client has invalid ETag (32 of 32 tests run so
far have passed)
PASS: HTTP_ConditionalGet : client has invalid If-Modified-Since (33 of 33
tests run so far have passed)

Please let me know how can I resolve this issue.

Original issue reported on code.google.com by hardikac...@gmail.com on 29 Aug 2008 at 9:23

GoogleCodeExporter commented 9 years ago
Can you try 2.0.2 beta? I'll see what I can do for you though.

What do you get from these URLs (after replacing your domain) ?
http://www.domain.com/web/examples/1/m.php/css
http://www.domain.com/web/examples/1/m.php/js

Are there PHP errors? If you don't see any can you check PHP's error log?

Original comment by mrclay....@gmail.com on 29 Aug 2008 at 2:59

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

Original comment by mrclay....@gmail.com on 26 Jan 2009 at 6:50