httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] apache 2.0.58 - mod_deflate & mod_disk_cache
Date Thu, 28 Sep 2006 11:04:07 GMT
> -----Original Message-----
> From: Vizzini Sampere [mailto:oshato@gmail.com] 
> Sent: Thursday, September 28, 2006 10:59 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] apache 2.0.58 - mod_deflate & mod_disk_cache
> 
> I'm having trouble caching the output of mod_deflate using
> mod_disk_cache.  I've found casual references to the combination
> working, but I haven't found a working example of it.
> 
> After emptying the "CacheRoot" of all files and flushing the cache on
> FF, I load '/demo/index.html' with FF. FF Page Info (under tools menu)
> shows a size that is clearly the compressed form of index.html.
> However, CacheRoot now contains
> '/j5p/I7E/m1Z/uNF/9HO/RTigTcw.{data,header}', both are plain text
> uncompressed.

We have almost exactly the same configuration and all cache files are
zipped. The only difference is, we use version 2.2.3... Maybe the order
of processing is different between the two versions? (ie, cache first,
zip last in 2.0.58?)

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> What part(s) of the puzzle am I missing? I've also tried
> 'SetOutputfilter DEFLATE' instead of 'AddOutputFilterByType' with no
> luck.
> 
> Any help or hints folks can provide would be greatly appreciated.
> 
> -Vizzini
> 
> relevant httpd.conf lines
> 
> LoadModule cache_module modules/mod_cache.so
> LoadModule disk_cache_module modules/mod_disk_cache.so
> 
> <Location /demo>
>         Options +MultiViews
>         AddOutputFilterByType DEFLATE text/html
>         # SetOutputfilter DEFLATE
>         Header append Vary User-Agent env=!dont-vary
> </Location>
> 
> CacheRoot "/var/www/mod_disk_cache/"
> CacheSize 5000000
> CacheEnable disk /demo/
> CacheDirLevels 5
> CacheDirLength 3
> 
> 
> # apache2 -V
> Server version: Apache/2.0.58
> Server built:   Aug 18 2006 15:35:07
> Server's Module Magic Number: 20020903:12
> Server loaded:  APR 0.9.12, APR-UTIL 0.9.12
> Compiled using: APR 0.9.12, APR-UTIL 0.9.12
> Architecture:   32-bit
> Server compiled with....
>   -D APACHE_MPM_DIR="server/mpm/worker"
>  -D APR_HAS_SENDFILE
>  -D APR_HAS_MMAP
>  -D APR_USE_SYSVSEM_SERIALIZE
>  -D APR_USE_PTHREAD_SERIALIZE
>  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
>  -D APR_HAS_OTHER_CHILD
>  -D AP_HAVE_RELIABLE_PIPED_LOGS
>   -D HTTPD_ROOT="/usr"
>   -D SUEXEC_BIN="/usr/sbin/suexec2"
>  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>  -D DEFAULT_ERRORLOG="logs/error_log"
>  -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
>   -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message