Forum Moderators: phranque

Message Too Old, No Replies

tuning http cache for better performance

         

trancephorm

9:11 am on Jan 26, 2005 (gmt 0)



Is it possible, for client browser, NOT to make any contacts with web server, if the pictures from the page are stored in cache, when refreshing a page? I noticed that it always makes "re-validation" connection, and finally loading the pictures from the cache, but I don't need that, i just want to pull the pictures from the cache not making any contacts with server.... I tried entering in .htaccess something like:

Header append Cache-Control "public, max-age:604800"
ExpiresActive On
ExpiresByType image/gif A604800

But I think it just won't work... Maybe this is impossible what I'm asking for or it's too dependable on browser's behavior.. I tried both with Firefox and IE...

Greetings,
Marko