Proxy and Caching

Hi,
I am installing Wibiya toolbar on my site. But the .js file for the
toolbar is large (169 KB), so I'd prefer to compress it and deliver to
the clients to make their experience faster.

But I can't store the file locally because sometimes it may get updated
on wibiya's location.

My server has caching (disk) enabled.

Is it possible to cache the requests by ProxyPass ?

Or there's some other method by which Apache will download the file if
and only if it is updated (mod_cache does this for local files).

--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.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
Nilesh Govindrajan [ Di, 23 Februar 2010 06:56 ] [ ID #2033115 ]

Re: Proxy and Caching

--001485eba2e8edbb1a04803fe848
Content-Type: text/plain; charset=ISO-8859-1

You can run mod_cache with revers proxy and it will cache the back end files
if you tell it to do. Have a look at mod_expires too for some client side
caching too.

On Feb 23, 2010 4:57 PM, "Nilesh Govindarajan" <lists [at] itech7.com> wrote:

Hi,
I am installing Wibiya toolbar on my site. But the .js file for the toolbar
is large (169 KB), so I'd prefer to compress it and deliver to the clients
to make their experience faster.

But I can't store the file locally because sometimes it may get updated on
wibiya's location.

My server has caching (disk) enabled.

Is it possible to cache the requests by ProxyPass ?

Or there's some other method by which Apache will download the file if and
only if it is updated (mod_cache does this for local files).

--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.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

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

<p>You can run mod_cache with revers proxy and it will cache the back end f=
iles if you tell it to do. Have a look at mod_expires too for some client s=
ide caching too.<br>
</p>
<p><blockquote type=3D"cite">On Feb 23, 2010 4:57 PM, "Nilesh Govindar=
ajan" <<a href=3D"mailto:lists [at] itech7.com">lists [at] itech7.com</a>>=
wrote:<br><br>Hi,<br>
I am installing Wibiya toolbar on my site. But the .js file for the toolbar=
is large (169 KB), so I'd prefer to compress it and deliver to the cli=
ents to make their experience faster.<br>
<br>
But I can't store the file locally because sometimes it may get updated=
on wibiya's location.<br>
<br>
My server has caching (disk) enabled.<br>
<br>
Is it possible to cache the requests by ProxyPass ?<br>
<br>
Or there's some other method by which Apache will download the file if =
and only if it is updated (mod_cache does this for local files).<br>
<br>
-- <br>
Nilesh Govindarajan<br>
Site & Server Adminstrator<br>
<a href=3D"http://www.itech7.com" target=3D"_blank">www.itech7.com</a><br>
<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.o=
rg</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>
</blockquote></p>

--001485eba2e8edbb1a04803fe848--
Igor Cicimov [ Di, 23 Februar 2010 08:58 ] [ ID #2033118 ]

Re: Proxy and Caching

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

Also have you tried mod_mem_cache instead the disk one?

On Feb 23, 2010 6:58 PM, "Igor Cicimov" <icicimov [at] gmail.com> wrote:

You can run mod_cache with revers proxy and it will cache the back end files
if you tell it to do. Have a look at mod_expires too for some client side
caching too.

> > On Feb 23, 2010 4:57 PM, "Nilesh Govindarajan" <lists [at] itech7.com> wrote:
> > Hi, > I am installi...

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

<p>Also have you tried mod_mem_cache instead the disk one?<br>
</p>
<p><blockquote type=3D"cite">On Feb 23, 2010 6:58 PM, "Igor Cicimov&qu=
ot; <<a href=3D"mailto:icicimov [at] gmail.com">icicimov [at] gmail.com</a>> wr=
ote:<br><br><p>You can run mod_cache with revers proxy and it will cache th=
e back end files if you tell it to do. Have a look at mod_expires too for s=
ome client side caching too.<br>

</p><p><font color=3D"#500050">>
> On Feb 23, 2010 4:57 PM, "Nilesh Govindarajan" <<a href=
=3D"mailto:lists [at] itech7.com">lists [at] itech7.com</a>> wrote:
>
> Hi,
> I am installi...</font></p></blockquote></p>

--001636b148d940395e04803ff300--
Igor Cicimov [ Di, 23 Februar 2010 09:00 ] [ ID #2033119 ]

Re: Proxy and Caching

On 02/23/2010 01:30 PM, Igor Cicimov wrote:
> Also have you tried mod_mem_cache instead the disk one?
>
>> On Feb 23, 2010 6:58 PM, "Igor Cicimov" <icicimov [at] gmail.com
>> <mailto:icicimov [at] gmail.com>> wrote:
>>
>> You can run mod_cache with revers proxy and it will cache the back end
>> files if you tell it to do. Have a look at mod_expires too for some
>> client side caching too.
>>
>> > > On Feb 23, 2010 4:57 PM, "Nilesh Govindarajan" <lists [at] itech7.com
>> <mailto:lists [at] itech7.com>> wrote: > > Hi, > I am installi...
>>

mod_mem_cache not feasible for me. The server has only 500 MB of RAM
running PHP, Apache, PgSQL.

--
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.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
Nilesh Govindrajan [ Di, 23 Februar 2010 14:15 ] [ ID #2033124 ]
Webserver » gmane.comp.apache.user » Proxy and Caching

Vorheriges Thema: httpd children receiving SIGHUP
Nächstes Thema: SSL between Apache and ldap