P
Paul Baranowski
Hi Everyone -
I am developing a web application that uses images for navigation
purposes. The problem is that with IE6, the images are re-fetched
every time the user clicks on something. Mozilla handles this
correctly and does not reload the images and thus the page comes up
almost instantaneously. IE 6 (and possibly other versions - I havent
tested them) does not use the cached images - resulting in each page
being loaded very slowly. I have verified that IE is actually
fetching the images, by looking at the apache access log file. I have
tried setting the "Expires" HTTP header for the images like thus:
<Directory /var/www/html/goodnewsnewsletter/admin/images>
ExpiresActive On
ExpiresDefault "access plus 24 hours"
</Directory>
I have verified that the Expires header is being transferred correctly
by looking at the "Page Info" screen in mozilla when I load the page.
The images have an expiry of one day.
I have created a demo login to the application so that you can view
this behaviour for yourself if you like:
http://goodnewsnewsletter.com/admin.php
u: demo
p: demo
This site is our testing site, so there is no problem if you play
around with it. Any suggestions would be greatly appreciated.
- Paul Baranowski
(e-mail address removed)
I am developing a web application that uses images for navigation
purposes. The problem is that with IE6, the images are re-fetched
every time the user clicks on something. Mozilla handles this
correctly and does not reload the images and thus the page comes up
almost instantaneously. IE 6 (and possibly other versions - I havent
tested them) does not use the cached images - resulting in each page
being loaded very slowly. I have verified that IE is actually
fetching the images, by looking at the apache access log file. I have
tried setting the "Expires" HTTP header for the images like thus:
<Directory /var/www/html/goodnewsnewsletter/admin/images>
ExpiresActive On
ExpiresDefault "access plus 24 hours"
</Directory>
I have verified that the Expires header is being transferred correctly
by looking at the "Page Info" screen in mozilla when I load the page.
The images have an expiry of one day.
I have created a demo login to the application so that you can view
this behaviour for yourself if you like:
http://goodnewsnewsletter.com/admin.php
u: demo
p: demo
This site is our testing site, so there is no problem if you play
around with it. Any suggestions would be greatly appreciated.
- Paul Baranowski
(e-mail address removed)