Re: ISP proxy caching major pain
| From: | strategies | Date: | Wed, 26 May 2004 14:02:10 +0000 |
| Subject: | Re: ISP proxy caching major pain | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186990@lists.php.net to get a copy of this message | ||
> * Thus wrote strategies (amurphy@2020strategies.com):
> > Hi,
> > I know this is a perennial problem but believe me i have googled and
> > tried various solutions
> > I've encounter many bb isps doing proxy caching that i cant get around.
> > That is i want to completely avoid caching.
> > I have tried all the header stuff ,both php headers and html headers.
>
> What headers did you try?
>
>
//php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', FALSE);
header('Pragma: no-cache');
//html
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
adrian