|
From: | Sigurd Nes |
Subject: | Re: [Phpgroupware-developers] apache2 browser caching |
Date: | Tue, 16 Mar 2004 22:40:17 +0100 |
User-agent: | Mozilla Thunderbird 0.5 (Windows/20040207) |
Dave Hall wrote:
I am in the process of setting up a new server with mandrake 10.0 - I am planning to use the stock apache2 with mod_deflate and turck mmcache.Kai Hofmann <address@hidden> wrote:I have a problem with apache2 (only) - the scripts (HEAD) are cached in the browser - and in some cases the user is asked to download thescript. that must be a configuration problem within your apache.I run php and apache 2 since beginning of year 2002 without such problems(all versions).How about (optional) exclude caching of scripts (in API)? if (!headers_sent()) { header("Cache-Control: private"); header("Cache-Control: no-cache"); header("Pragma: no-cache"); }I think thats not a good idea.Isn't it? ;)I am not sure about HEAD, but in 16 this is done in header.inc.php. Without the if block(which seems like a good idea). btw is this runningon windoze or *nix?
Sigurd
[Prev in Thread] | Current Thread | [Next in Thread] |