pti4ka
12-01-2004, 08:30 AM
i have a few dynamic javascript effects on my page involving moving of images,and show/hide effects.
the problem is that every time something changes,like image appears or moves or some elements are redrawn, ie every time tries to download affected images again...
i'm absolutly sure that that's what happening because i see in ie's status bar messages like "downloading pic1.png...".
for example i have some simple slide show from two images.
first image(pic1.png) appears, secong image(pic2.png) disappears and that repeats itself again. the moment each image appears i see in status bar message "downloading pic1.png..." or "downloading pic2.png" and if this slideshow runs every 100msec then each and every time ie tries to download image...
i tried to include this header:
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+24*60*60) . ' GMT');
but it seems it has no effect...(i copied it from comments on php.net)
would appreciate any help on this
thank you
the problem is that every time something changes,like image appears or moves or some elements are redrawn, ie every time tries to download affected images again...
i'm absolutly sure that that's what happening because i see in ie's status bar messages like "downloading pic1.png...".
for example i have some simple slide show from two images.
first image(pic1.png) appears, secong image(pic2.png) disappears and that repeats itself again. the moment each image appears i see in status bar message "downloading pic1.png..." or "downloading pic2.png" and if this slideshow runs every 100msec then each and every time ie tries to download image...
i tried to include this header:
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+24*60*60) . ' GMT');
but it seems it has no effect...(i copied it from comments on php.net)
would appreciate any help on this
thank you