mem_cache issue.

--001636c927c1a915c50481d1623d
Content-Type: text/plain; charset=ISO-8859-1

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.

--Sachin Gopalkrishnan

--001636c927c1a915c50481d1623d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,<br><br>The environment is=A0 OS : CentOS 64 Bit ,
Apache 2.2.14, compile options :
--enable-proxy-balancer --enable-rewrite --enable-mods-shared=3Dall
--enable-logio --enable-deflate --enable-ssl --enable-proxy
--enable-proxy-http --enable-modules=3Dall --enable-cache
--enable-disk-cache --enable-mem-cache. This compiles=A0 successfully . <br=
>
<br>
<br>=A0 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. <br>

<br>
<IfModule mod_mem_cache.c> <br>
MCacheMaxObjectCount 13001 <br>
MCacheMaxObjectSize 6400000 <br>
MCacheMaxStreamingBuffer 65536 <br>
MCacheSize 700000 <br>
CacheEnable mem /views/jscript <br>
CacheEnable mem /views/styles <br>
CacheEnable mem /views/Images <br>
CacheEnable mem /images <br>
</IfModule> <br>
<br>
<br>
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 poin=
t out what we are missing here.<br><br>--Sachin Gopalkrishnan<br>
<br>
<br>
<br clear=3D"all"><br>

--001636c927c1a915c50481d1623d--
Sachin Gopal [ Mo, 15 März 2010 07:56 ] [ ID #2035097 ]

Re: mem_cache issue.

On Mon, Mar 15, 2010 at 2:56 AM, Sachin Gopal <gopalsachin [at] gmail.com> wrote=
:
> Hi,
>
> The environment is=A0 OS : CentOS 64 Bit , Apache 2.2.14, compile options=
:
> --enable-proxy-balancer --enable-rewrite --enable-mods-shared=3Dall
> --enable-logio --enable-deflate --enable-ssl --enable-proxy
> --enable-proxy-http --enable-modules=3Dall --enable-cache --enable-disk-c=
ache
> --enable-mem-cache. This compiles=A0 successfully .
>
>
> =A0 We did a virtualhost setup on the same . the actual site is on Zope a=
nd 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 t=
he
> proxy contents (like images/js/css) to be cached from a particular URL wh=
ich
> 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 n=
ot
> 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 wh=
at
> 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 [at] 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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Eric Covener [ Mo, 15 März 2010 15:15 ] [ ID #2035105 ]

Re: mem_cache issue.

--00163630f445d536d90482610808
Content-Type: text/plain; charset=ISO-8859-1

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/cm s/ZeUI/VirtualHostRoot/
ProxyPassReverse / http://test.cache.org

Here : localhost:8080 - is backed zope server.


Regards
Sachin
===


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


On Mon, Mar 15, 2010 at 2:56 AM, Sachin Gopal <gopalsachin [at] 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 [at] 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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org




--
Sachin Gopal

--00163630f445d536d90482610808
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br>Hello Eric , <br><br>Thanks for the prompt reply .<br><br>Is the module=
loaded?<br>Ans : Yes.<br>What's logged at LogLevel debug when you send=
a request whose response should be cached? What happens on the subsequent =
request?<br>
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 bac=
kend. <br>
PS: We are using mem_cache with ProxyPass .<br><br>conf: <br><br>ProxyPass =
/ <a href=3D"http://localhost:8080/VirtualHostBase/http/test.cache.org/cms/=
ZeUI/VirtualHostRoot/">http://localhost:8080/VirtualHostBase /http/test.cach=
e.org/cms/ZeUI/VirtualHostRoot/</a> <br>
ProxyPassReverse / <a href=3D"http://test.cache.org">http://test.cache.org<=
/a><br><br>Here : localhost:8080 - is backed zope server.<br><br><br>Regard=
s<br>Sachin <br>=3D=3D=3D<br><br><br><div class=3D"gmail_quote">---------- =
Forwarded message ----------<br>
From: <b class=3D"gmail_sendername">Eric Covener</b> <span dir=3D"ltr"><=
<a href=3D"mailto:covener [at] gmail.com" target=3D"_blank">covener [at] gmail.com</a=
>></span><br>Date: Mon, Mar 15, 2010 at 7:45 PM<br>
Subject: Re: [users [at] httpd] mem_cache issue.<br>To: <a href=3D"mailto:users [at] =
httpd.apache.org" target=3D"_blank">users [at] httpd.apache.org</a><br><br><br><=
div><div></div><div>On Mon, Mar 15, 2010 at 2:56 AM, Sachin Gopal <<a hr=
ef=3D"mailto:gopalsachin [at] gmail.com" target=3D"_blank">gopalsachin [at] gmail.com=
</a>> wrote:<br>


> Hi,<br>
><br>
> The environment is=A0 OS : CentOS 64 Bit , Apache 2.2.14, compile opti=
ons :<br>
> --enable-proxy-balancer --enable-rewrite --enable-mods-shared=3Dall<br=
>
> --enable-logio --enable-deflate --enable-ssl --enable-proxy<br>
> --enable-proxy-http --enable-modules=3Dall --enable-cache --enable-dis=
k-cache<br>
> --enable-mem-cache. This compiles=A0 successfully .<br>
><br>
><br>
> =A0 We did a virtualhost setup on the same . the actual site is on Zop=
e and we<br>
> are using virtualhosting on apache and doing proxypass which works gre=
at .<br>
> we are using mod_cache and mod_mem_cache on the same hosted site to ge=
t the<br>
> proxy contents (like images/js/css) to be cached from a particular URL=
which<br>
> are actually on Zope hosted application.<br>
><br>
> <IfModule mod_mem_cache.c><br>
> MCacheMaxObjectCount 13001<br>
> MCacheMaxObjectSize 6400000<br>
> MCacheMaxStreamingBuffer 65536<br>
> MCacheSize 700000<br>
> CacheEnable mem /views/jscript<br>
> CacheEnable mem /views/styles<br>
> CacheEnable mem /views/Images<br>
> CacheEnable mem /images<br>
> </IfModule><br>
><br>
><br>
> The intension here is to cache the javascript , Images , CSS , which i=
s not<br>
> working .Do we need to change on apache configuration to achive mem_ca=
che<br>
> working with proxypass. We used ab to test this. Can anybody point out=
what<br>
> we are missing here.<br>
<br>
</div></div>Is the module loaded? What's logged at LogLevel debug when =
you send a<br>
request whose response should be cached? What happens on the<br>
subsequent request?<br>
<font color=3D"#888888"><br>
<br>
--<br>
Eric Covener<br>
<a href=3D"mailto:covener [at] gmail.com" target=3D"_blank">covener [at] gmail.com</a=
><br>
</font><div><div></div><div><br>
------------------------------------------------------------ ---------<br>
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:<a href=3D"http://httpd.apache.org/userslist.html" target=3D"_b=
lank">http://httpd.apache.org/userslist.html</a>> for more info.<br>
To unsubscribe, e-mail: <a href=3D"mailto:users-unsubscribe [at] httpd.apache.or=
g" target=3D"_blank">users-unsubscribe [at] httpd.apache.org</a><br>
=A0 " =A0 from the digest: <a href=3D"mailto:users-digest-unsubscribe=
[at] httpd.apache.org" target=3D"_blank">users-digest-unsubscribe [at] httpd.apache.=
org</a><br>
For additional commands, e-mail: <a href=3D"mailto:users-help [at] httpd.apache.=
org" target=3D"_blank">users-help [at] httpd.apache.org</a><br>
<br>
</div></div></div><br><br clear=3D"all"><br>-- <br>Sachin Gopal<br>

--00163630f445d536d90482610808--
Sachin Gopal [ Mo, 22 März 2010 11:19 ] [ ID #2035960 ]

Re: mem_cache issue.

On Mon, Mar 22, 2010 at 6:19 AM, Sachin Gopal <gopalsachin [at] gmail.com> wrote:
>
> 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.

Post the verbatim log entries instead of summarizing them.

--
Eric Covener
covener [at] 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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Eric Covener [ Mo, 22 März 2010 12:29 ] [ ID #2035965 ]
Webserver » gmane.comp.apache.user » mem_cache issue.

Vorheriges Thema: SSL_CLIENT_S_DN_UID not available with client certificate authentication
Nächstes Thema: Streaming files with apache