Re: mem_cache issue.

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

 




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@xxxxxxxxx>
Date: Mon, Mar 15, 2010 at 7:45 PM
Subject: Re: mem_cache issue.
To: users@xxxxxxxxxxxxxxxx


On Mon, Mar 15, 2010 at 2:56 AM, Sachin Gopal <gopalsachin@xxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
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




--
Sachin Gopal

[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