httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony J. Biacco" <>
Subject [users@httpd] RE: caching with compression
Date Tue, 19 May 2009 18:23:41 GMT
I've also noticed for requests that don't get pulled from apache's disk
cache (i.e. are sent on to my tomcat server for new data), are the only
ones that get sent out compressed.

Manager, IT Operations
Format Dynamics, Inc.

> -----Original Message-----
> From: Anthony J. Biacco
> Sent: Tuesday, May 19, 2009 11:39 AM
> To: ''
> Subject: caching with compression
> Hi,
> I'm using 2.2.11 on rhel 5. I'm doing apache disk caching of a couple
> of my tomcat apps, and apache memory caching for my static web files.
> I now have started doing compression of said files and webapps (which
> all fall under a javascript content type).
> Problem is, apache is now creating a .vary cache file/dir for what
> seems like every single request, which is just negating the caching
> altogether.
> I'm seeing this message in the error log, which I suspect is the
> 	[Tue May 19 11:19:28 2009] [debug] cache_storage.c(257):
> cache_select_url(): Vary header mismatch.
> I'm not setting the Vary header for User-Agent, and even when I'm not,
> it's still setting the Vary: Accept-Encoding header.
> Even if I set the env. of force-no-vary on these cached urls, I still
> get the error and see .vary cache dirs created, which I don't quite
> understand (I can confirm NOT  seeing the Vary: header in the HTTP
> response)
> Any advice is appreciated.
> -Tony
> ---------------------------
> Manager, IT Operations
> Format Dynamics, Inc.
> 303-573-1800x27

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message