mod_deflate and mod_cache can this be combined to improve performance
--00163646d4022b4ac904705e19a6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
I have a Server running with Apache 2.2.9/Mod_Perl 2.0.4 , now I am trying
to use mod_deflate to compress response. I have lot of static files in my
server which doesn't change frequently so i want to caching for these
compressed files. Is it possible , any idea at what stage mod_cache filter
is called ?
--
--Shibi Ns--
--00163646d4022b4ac904705e19a6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<br>I have a Server running with Apache 2.2.9/Mod_Perl 2.0.4 , now I am try=
ing to use mod_deflate to compress response. I have lot of static files in =
my server which doesn't change frequently so i want to caching for thes=
e compressed files. Is it possible , any idea at what stage mod_cache filte=
r is called ?<br>
<br>=A0<br clear=3D"all"><br>-- <br>--Shibi Ns--<br>
--00163646d4022b4ac904705e19a6--
Re: mod_deflate and mod_cache can this be combined to
--0016368324ea6b0b390470716eee
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Great,Thanks , I that answers my question.
On Thu, Aug 6, 2009 at 12:52 AM, "F=E1bio Jr." <fjuniorlista [at] gmail.com> wro=
te:
> Shibi NS escreveu:
>
>> Is the file is cached before compression or after compression ?. If the
>> file is cached after compression then its relay helps me in improving th=
e
>> performance.
>>
>> It will depends of the compatibility of the client's browser. In
> mod_deflate configs, you should see that it have some configurations abou=
t
> what kind of browser can handle compressed files.
>
> This also depends on your settings. If you force all content to be
> compressed, it will be stored in cache compressed. but if the browser is =
not
> supported, it will store a compressed file, and also a not compressed fil=
e
> on cache.
>
> Before you start using mod_deflate + mod_cache, you must have in mind wha=
t
> kind of files you want to compress and/or cache. What kind of cache you w=
ill
> use (disk / mem / file), what folders and/or file types you must cache an=
d
> what not.
>
> A good starting point is the Apache cache guide <
> http://httpd.apache.org/docs/2.2/caching.html>.
>
> Good luck and any other doubt, i will be happy to help
>
> []s
>
> F=E1bio Jr.
>
>
>
> ------------------------------------------------------------ ---------
> 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
>
>
--
--Shibi Ns--
--0016368324ea6b0b390470716eee
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Great,Thanks , I that answers my question. <br><br><div class=3D"gmail_quot=
e">On Thu, Aug 6, 2009 at 12:52 AM, "F=E1bio Jr." <span dir=3D"lt=
r"><<a href=3D"mailto:fjuniorlista [at] gmail.com">fjuniorlista [at] gmail.com</a>=
></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Shibi NS escreveu=
:<div class=3D"im"><br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is the file is cached before compression or after compression ?. If the fil=
e is cached after compression then its relay helps me in improving the perf=
ormance.<br>
<br>
</blockquote></div>
It will depends of the compatibility of the client's browser. In mod_de=
flate configs, you should see that it have some configurations about what k=
ind of browser can handle compressed files.<br>
<br>
This also depends on your settings. If you force all content to be compress=
ed, it will be stored in cache compressed. but if the browser is not suppor=
ted, it will store a compressed file, and also a not compressed file on cac=
he.<br>
<br>
Before you start using mod_deflate + mod_cache, you must have in mind what =
kind of files you want to compress and/or cache. What kind of cache you wil=
l use (disk / mem / file), what folders and/or file types you must cache an=
d what not.<br>
<br>
A good starting point is the Apache cache guide <<a href=3D"http://httpd=
..apache.org/docs/2.2/caching.html" target=3D"_blank">http://httpd.apache.or=
g/docs/2.2/caching.html</a>>.<br>
<br>
Good luck and any other doubt, i will be happy to help<br>
<br>
[]s<br><font color=3D"#888888">
<br>
=A0 F=E1bio Jr.</font><div><div></div><div class=3D"h5"><br>
<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>
</div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>--Shibi Ns-=
-<br>
--0016368324ea6b0b390470716eee--
Re: mod_deflate and mod_cache can this be combined to improve
On Wed, Aug 5, 2009 at 1:15 AM, Shibi NS<shibi.ns [at] gmail.com> wrote:
> I have a Server running with Apache 2.2.9/Mod_Perl 2.0.4 , now I am trying
> to use mod_deflate to compress response. I have lot of static files in my
> server which doesn't change frequently so i want to caching for these
> compressed files. Is it possible , any idea at what stage mod_cache filter
> is called ?
This isn't really a mod_perl question. I suggest you ask on the main
httpd mailing list, but first do a little searching because there's
lots of information about this already out there.
- Perrin