[thelist] Is server-side browser-sniffing a bad idea? and Cache Tutorial

Ben Gustafson ben_gustafson at lionbridge.com
Fri Dec 7 08:25:04 CST 2001


> > BTW, this is a bit of a bummer, since sending a page
> > tailored to the browser is preferable to sending a page
> > full of JavaScript browser detection "ifs".
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> 
> and doing object/method support detection is preferable to 
> both methods above and isn't affected by this proxy 
> caching scenario.

Jeff, could you elaborate more on what object/method support detection is?

> I recommend reading this cache tutorial:
> 
> http://www.mnot.net/cache_docs/
> 
> 1. Using <meta http-equiv="Pragma" content="no-cache"> is wrong.
> 
> 2. You can send a "Cache-Control: no-cache, must-revalidate" 
> and/or Expires HTTP header.

Matt, many thanks for this URL. Would "Cache-Control: no-cache, proxy-revalidate" be more
focused for dealing with the proxy caching issue?

--Ben




More information about the thelist mailing list