Re: caching
| From: | Jay Paulson | Date: | Tue, 03 Jul 2001 17:39:06 +0000 |
| Subject: | Re: caching | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56027@lists.php.net to get a copy of this message | ||
This is what I use for the header information.. I don't know if it will work
for an image or not but it works nicely for text fields that are dynamically
populated.. anyway if you aren't adding this extra little bit at the end of
the header function you might want to give it a shot...
header ("Cache-Control: no-cache, must-revalidate");
Jay Paulson
Internet Program Director
LBJS
jpaulson@lbjs.com
----- Original Message -----
From: "Jon Yaggie" <dmsales@design-monster.com>
To: <php-general@lists.php.net>
Sent: Wednesday, May 30, 2001 5:36 PM
Subject: [PHP] caching
Ok I am dynamically creating images. my problem is my browser is caching
the images (or at least half ot them - i see no particular system to which)
i have no idea how to stop this. i have tried using the header
Cache-Control: no-cahe However it seems to have no helped. maybe i am
using it wrongly? is there another method i can clear the browser cache?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it continued until they reached 0