Re: [us...@httpd] mod_disk_cache and caching same content for all users

2009-08-26 Thread André Warnier
Nick Kew wrote: Henry wrote: Correct me if I'm wrong, but there doesn't seem to be much point in mod_disk_cache if it's not caching for all across the board. It's cacheing what is cacheable! It can cache contents with a Vary, but it can't serve from the cache to a different agent. Get rid of

Re: [us...@httpd] mod_disk_cache and caching same content for all users

2009-08-26 Thread Henry
Quoting "Nick Kew" : It's cacheing what is cacheable! It can cache contents with a Vary, but it can't serve from the cache to a different agent. Get rid of that Vary header, and it'll do what you appear to be asking. That's working perfectly, thanks. Regards Henry pgpF7etB1rJNP.pgp Descrip

Re: [us...@httpd] mod_disk_cache and caching same content for all users

2009-08-26 Thread Nick Kew
Henry wrote: Correct me if I'm wrong, but there doesn't seem to be much point in mod_disk_cache if it's not caching for all across the board. It's cacheing what is cacheable! It can cache contents with a Vary, but it can't serve from the cache to a different agent. Get rid of that Vary header

Re: [us...@httpd] mod_disk_cache and caching same content for all users

2009-08-26 Thread Henry
Quoting "Nick Kew" : Read the HTTP spec! The server has declared that it will serve a *different* page to a different user agent. If that's for the web - as opposed to an application that's limited to your choice of user-agents, then it's certainly wrong. Either it's bogus (i.e. the server will

Re: [us...@httpd] mod_disk_cache and caching same content for all users

2009-08-26 Thread Nick Kew
Henry wrote: Quoting "Eric Covener" : Yes, it contains: Vary: User-Agent That's why you get a new one cached for a different browser. Ouch. OK, I confirmed what you're saying by using different machines browsing to the same (cached) page all using the same browser (IE). None of them got

Re: [us...@httpd] mod_disk_cache and caching same content for all users

2009-08-26 Thread Henry
Quoting "Eric Covener" : Yes, it contains: Vary: User-Agent That's why you get a new one cached for a different browser. Ouch. OK, I confirmed what you're saying by using different machines browsing to the same (cached) page all using the same browser (IE). None of them got served the c

Re: [us...@httpd] mod_disk_cache and caching same content for all users

2009-08-26 Thread Eric Covener
On Wed, Aug 26, 2009 at 7:59 AM, Henry wrote: > Quoting "Eric Covener" : >> >> Does your response contain a Vary header? > > Hi Eric, thanks for the quick response. > > Yes, it contains: > Vary: User-Agent That's why you get a new one cached for a different browser. -- Eric Covener cove...@gmai

Re: [us...@httpd] mod_disk_cache and caching same content for all users

2009-08-26 Thread Henry
Quoting "Eric Covener" : Does your response contain a Vary header? Hi Eric, thanks for the quick response. Yes, it contains: Vary: User-Agent FYI: Date: Wed, 26 Aug 2009 11:57:35 GMT Server: Apache Expires: access plus 1 day Content-Encoding: gzip Cache-Control: max-age=86400, public Vary:

Re: [us...@httpd] mod_disk_cache and caching same content for all users

2009-08-26 Thread Eric Covener
On Wed, Aug 26, 2009 at 7:33 AM, Henry wrote: > Hi, > > apache 2.2.8 > > Maybe I'm not understanding the purpose of mod_disk_cache:  I'd like to > cache content for ALL users of a website - not just for a single user and > browser.  I've noticed that this is not the case with different browsers. >

[us...@httpd] mod_disk_cache and caching same content for all users

2009-08-26 Thread Henry
Hi, apache 2.2.8 Maybe I'm not understanding the purpose of mod_disk_cache: I'd like to cache content for ALL users of a website - not just for a single user and browser. I've noticed that this is not the case with different browsers. For example: Using Firefox (FF) and browsing to ab