[users@httpd] mod_disk_cache stores the result without HTTP compression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using Apache 2.0.55 with mod_disk_cache and mod_deflate.  When a user
who supports HTTP compression gets the same URL twice, they get it with HTTP
compression the first time, but without compression on subsequent times when
it gets served from the cache.  The data file in the cache reveals that it's
uncompressed there.

The HTTP headers look good on the first time.  The user says
"Accept-Encoding: gzip" and the server responds with "Cache-Control:
max-age=1800", "Vary: Accept-Encoding", and "Content-Encoding: gzip".  On
the second time, the user sends the same exact HTTP request headers but the
server response from mod_disk_cache lacks the Vary and Content-Encoding
headers.

Shouldn't mod_disk_cache be storing the compressed version?  If two users
hit the same URL and one supports compression but the other doesn't,
shouldn't mod_disk_cache store both versions in its cache?

Is there a bit of configuration that I'm missing to tell mod_disk_cache to
do this?

Thank you!
-- 
View this message in context: http://www.nabble.com/mod_disk_cache-stores-the-result-without-HTTP-compression-tf2549810.html#a7106763
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux