httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=48364

HWS <strube@physik3.gwdg.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from HWS <strube@physik3.gwdg.de> 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):

<?php
header('Last-Modified: '.gmdate('D, d M Y H:i:s
\G\M\T',filemtime('/docroot/test/tt.php')-10));
header('Expires: '.gmdate('D, d M Y H:i:s \G\M\T',time()+60));
#header('Cache-Control: public,max-age=60,must-revalidate');
ob_start();
?>
<html>
<head><title>Environment</title></head>
<body>
<h2>Environment Variables:</h2>
<?php
echo("TZ=".$_ENV["TZ"]."<br>");
echo("LC_CTYPE=".$_ENV["LC_CTYPE"]."<br>");
<!-- some more echo lines -->
?>
</body>
</html><?php header('Content-Length: '.ob_get_length()); ob_flush(); ?>

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message