Improving HTTP cache options
It's maybe not exactly the forum this message should be posted in, but this is as close match as I could find on p2p.wrox.com ... You should really have some forum about Apache/HTTP protocol or similar...
So here's the question:
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
|