phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] apache2 browser caching


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:
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 the

script.
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 running
on windoze or *nix?

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.

Sigurd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]