httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48364] PHP-generated pages are not cached in spite of pertinent header entries
Date Thu, 10 Dec 2009 13:21:15 GMT

HWS <> changed:

           What    |Removed                     |Added
             Status|NEEDINFO                    |NEW

--- Comment #2 from HWS <> 2009-12-10 05:21:12 UTC ---
For CGI as well as for FastCGI with mod_fastcgi (have not tried mod_proxy_fcgi
now), the only debug log entries are (both with identical time stamps):
[debug] mod_cache.c(131): Adding CACHE_SAVE filter for /test/tt.php
[debug] mod_cache.c(138): Adding CACHE_REMOVE_URL filter for /test/tt.php

The content of tt.php was (the Cache-Control line does not change anything):

header('Last-Modified: '.gmdate('D, d M Y H:i:s
header('Expires: '.gmdate('D, d M Y H:i:s \G\M\T',time()+60));
#header('Cache-Control: public,max-age=60,must-revalidate');
<h2>Environment Variables:</h2>
<!-- some more echo lines -->
</html><?php header('Content-Length: '.ob_get_length()); ob_flush(); ?>

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message