Re: HTTP optimization : advanced client caching and browser behavior

venukrishna prasad <[email protected]> Sun, 19 Jul 2009 21:18:38 -0700 (PDT)
Newsgroups gmane.comp.programming.load-balancing.general
Message-ID <[email protected]>
You would need a intelligent browser cache manager in between which can set the age based on the type of content or a policy set by the administrator,

Thanks




________________________________
From: Surya ARBY <[email protected]>
To: Load Balancing Mailing List <[email protected]>
Sent: Thursday, July 16, 2009 8:49:04 PM
Subject: [load balancing] HTTP optimization : advanced client caching and browser behavior


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