phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: RE: [Phpgroupware-developers] apache2 browser caching


From: Dave Hall
Subject: Re: RE: [Phpgroupware-developers] apache2 browser caching
Date: Tue, 16 Mar 2004 11:17:20 +0100

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?

Cheers

Dave

Attachment: dave.hall.vcf
Description: Card for <dave.hall@mbox.com.au>


reply via email to

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