Forum Moderators: open

Message Too Old, No Replies

Causing IE to Cache Graphics

         

peterinwa

4:32 am on Oct 4, 2005 (gmt 0)

10+ Year Member



My forum has a lot of little gifs to make up the page and emoticons and such. Using Internet Explorer, each page loads slowly every time as the gifs load. But using Netscape the gifs are held in memory and load instantly upon going to a second page.

Can this capability be turned on in IE?

Thanks, Peter

Sathallrin

1:43 pm on Oct 5, 2005 (gmt 0)

10+ Year Member



If your server is an apache server, you can add this to the .htaccess file:
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000

This will force the images to be cached by the browser. You can remove jprg and png lines if you only want gifs to be cached.