|
If a new browser session is opened then IE first reads all images also when IE cache settings are set to "Automatically". To allow access to cached files also in this case you can confiure your web server.
IIS
You have to add a new http header like this:
- Open IIS manager
- Open settings for your web site
- Goto http header
- Create a new user defined header :
name: cache-control value: max-age=86400
The number behind max-age is the age of the image
Apache
Please add those settings to httpd.conf:
# enable expirations ExpiresActive On # expire GIF images in the client's cache ExpiresByType image/gif A86400 ExpiresByType image/png A86400 ExpiresByType application/x-javascript A86400
|