Re: cache
| From: | bvr | Date: | Wed, 06 Mar 2002 09:39:12 +0000 |
| Subject: | Re: cache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87438@lists.php.net to get a copy of this message | ||
Hallo Jeroen ;)
There are several ways to control the caching of pages and images, including sending headers
and META tags. These are ofcourse HTML/HTTP features and not specific to PHP.
Because it seems to be needed to send a combination of these to make it work for a situations,
I prefer another method which works quite well on images, example:
<IMG SRC="test.gif?<? echo(time()); ?>">
This appends a UNIX timestamp to the image location so the browser sees a different image location
on each page load, forcing it to download the image every time.
bvr.
Jeroen Timmers wrote:
is there some command with php dat the page some images not load out the cache but reloading the image? Thx Jeroen