httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sachin Gopal <gopalsac...@gmail.com>
Subject Re: [users@httpd] mem_cache issue.
Date Mon, 22 Mar 2010 10:19:38 GMT
Hello Eric ,

Thanks for the prompt reply .

Is the module loaded?
Ans : Yes.
What's logged at LogLevel debug when you send a request whose response
should be cached? What happens on the subsequent request?
Ans : On the Log , The request hits to the Apache , and pulls the requested
(js/css/gif) from the backend zope server. where as on the next subsequent
requests also it continues to pull the requested (js/css/gif) from the
backend.
PS: We are using mem_cache with ProxyPass .

conf:

ProxyPass /
http://localhost:8080/VirtualHostBase/http/test.cache.org/cms/ZeUI/VirtualHostRoot/
ProxyPassReverse / http://test.cache.org

Here : localhost:8080 - is backed zope server.


Regards
Sachin
===


---------- Forwarded message ----------
From: Eric Covener <covener@gmail.com>
Date: Mon, Mar 15, 2010 at 7:45 PM
Subject: Re: [users@httpd] mem_cache issue.
To: users@httpd.apache.org


On Mon, Mar 15, 2010 at 2:56 AM, Sachin Gopal <gopalsachin@gmail.com> wrote:
> Hi,
>
> The environment is  OS : CentOS 64 Bit , Apache 2.2.14, compile options :
> --enable-proxy-balancer --enable-rewrite --enable-mods-shared=all
> --enable-logio --enable-deflate --enable-ssl --enable-proxy
> --enable-proxy-http --enable-modules=all --enable-cache
--enable-disk-cache
> --enable-mem-cache. This compiles  successfully .
>
>
>   We did a virtualhost setup on the same . the actual site is on Zope and
we
> are using virtualhosting on apache and doing proxypass which works great .
> we are using mod_cache and mod_mem_cache on the same hosted site to get
the
> proxy contents (like images/js/css) to be cached from a particular URL
which
> are actually on Zope hosted application.
>
> <IfModule mod_mem_cache.c>
> MCacheMaxObjectCount 13001
> MCacheMaxObjectSize 6400000
> MCacheMaxStreamingBuffer 65536
> MCacheSize 700000
> CacheEnable mem /views/jscript
> CacheEnable mem /views/styles
> CacheEnable mem /views/Images
> CacheEnable mem /images
> </IfModule>
>
>
> The intension here is to cache the javascript , Images , CSS , which is
not
> working .Do we need to change on apache configuration to achive mem_cache
> working with proxypass. We used ab to test this. Can anybody point out
what
> we are missing here.

Is the module loaded? What's logged at LogLevel debug when you send a
request whose response should be cached? What happens on the
subsequent request?


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




-- 
Sachin Gopal

Mime
View raw message