Re: images doesn't seem to cache
| From: | Marek Kilimajer | Date: | Mon, 08 Nov 2004 19:52:35 +0000 |
| Subject: | Re: images doesn't seem to cache | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201565@lists.php.net to get a copy of this message | ||
anders thoresson wrote:
No, it's a http header, not a get parameter. I'm not sure if this header is made available under IIS. Under apache you could use apache_request_headers().This code seems to work. Have I got it right?No. I have not. Sometimes the images are viewed from the cache, just to get downloaded from the server again next time, just a minute later, when I try again. My local development server is running IIS, my production server is running Apache. Where is the best place to look for If-Modified-Since? Is $_GET['If-Modified-Since'] a safe bet?