Re: Re: client side cache
| From: | Cesar Cordovez | Date: | Tue, 24 Jun 2003 12:55:11 +0000 |
| Subject: | Re: Re: client side cache | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152601@lists.php.net to get a copy of this message | ||
Hi!
I used to have this problem until I started using in all of my scripts
the following:
<?php
$t = time("U"); // this is the time in seconds from 1/1/1970
$url = "whateveryouwant.php?t=$t";
// place here something like:
printf("<a href='%s'>Click here to go to what ever</a>", $url);
>?
Whith this, the cache of your client will 'think' it is a different page
and force it to load it.
Cesar
Jean-Christian IMbeault wrote:
> Aljosa Mohorovic wrote:
>
>>i have problems with client side cache, how can i disable it?
>>i use this, but it still caches pages.
>
>
> What are your problems exactly and what is the client?
>
> Remember that the client might not be honouring your caching headers and
> if that is the case there is nothing you can do about it. i.e. it may be
> an ill-behaving client which isn't following standards.
>
> Jean-Christian Imbeault
>
>