HTTP optimization : advanced client caching and browser behavior

Surya ARBY <[email protected]> Thu, 16 Jul 2009 15:19:04 +0000 (GMT)
Newsgroups gmane.comp.programming.load-balancing.general
Message-ID <[email protected]>
Hello the ML !

I wonder what is the best practice to enforce object caching in client's browser. I usually set the Cache-control header to "max-age=xxx" seconds.

I suppose the Pragma:no-cache directive is not used by anyone now, and I know the cache-control directive overrides the "Expires" when using the max-age parameter, but between the Cache-control, Expires, Etag and Last-modified headers, is there any best practice to enforce client caching by using a header rewrite in the Load balancer ?

I personnally prefer to use Cache-control and Expires as there is no conditionnal request when a user is browsing a site to revalidate objects.

Has anyone ever played with this kind of feature ?

regards,

Surya

router# show problem | include solution

_______________________________________________
lb-l mailing list
[email protected]
http://vegan.net/mailman/listinfo/lb-l
Searchable Archive: http://vegan.net/lb/archive
http://lbdigest.com Load Balancing Digest
http://lbwiki.com Load Balancing Wiki