Here is the testing copy of the page I'm working on: http://angrychemist.com
The images on the top and side are dynamically generated with gd each page load. The one on the left is just an img src= image, the one on the top is a background image in a table. The background image stays cached in IE 5.x for Mac (and probably other versions). I have tried adding no-cache headers, even hitting shift reload on the browser, but it still wont load a fresh copy. Any ideas? The non-background image works fine, and everything seems to work fine with Safari.
Thanks for any help. I can provide code if needed, but it doesn't seem like that is the problem.
Dan
IE can't help but to cache my dynamic images, aaarg!
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
it might be
The last time I did a big project for dealing with images and I had made a nice slick site that used heaps of javascript and iframes. Worked great on everyting I tested on including windows and linux based machines, however IE5.x for the MAC busted it. I had to go back and recode a bunch of the site because the majority of people where using IE5.x for Mac to view the site.
Dammit M$ can't even keep browsers the same across platforms.
You might have to do some browser checking to deal different code types to different browsers.
phpScott
Dammit M$ can't even keep browsers the same across platforms.
You might have to do some browser checking to deal different code types to different browsers.
phpScott
Ya, it's probably an issue with just IE for Mac (blech). I've noticed that to absolutely stop caching on IE for Windows, you need 3 anti-caching headers. I'm not sure of the syntax but it's something like this:
Code: Select all
header("Expires: 0");
header("Pragma: no-cache");
Header("Content-Control: no-cache");Real programmers don't comment their code. If it was hard to write, it should be hard to understand.