Re: Cache bypass
| From: | Richard Lynch | Date: | Sat, 24 Mar 2001 01:11:27 +0000 |
| Subject: | Re: Cache bypass | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45387@lists.php.net to get a copy of this message | ||
If you can add a unique number (microtime() * 1000000) or uniqid() to the
URL, then the browser and server and everybody in between will be pretty
sure it's a different URL and re-load it.
echo "<A HREF=foo.php?unique=", uniqid(), ">foo</A>";
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: "Barry Russell" <br@inwave.demon.co.uk>
Newsgroups: php.general
Sent: Tuesday, March 20, 2001 8:25 PM
Subject: [PHP] Cache bypass
> Can anyone point me at a way to pick up a url entered in a form
> and construct an HTTP request that will download the requested
> page into the browser window with an enforced refresh that
> bypasses a local cache ?
>
> (I have a tough local policy to get thru which doesn't take account
> of developers working at a distance...)
>
> Thanks,
> Barry
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>