mod_deflate and mod_cache can this be combined to improve performance

mod_deflate and mod_cache can this be combined to improve performance

am 05.08.2009 07:15:58 von Shibi NS

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


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 ?


=A0

--
--Shibi Ns--


--00163646d4022b4ac904705e19a6--

Re: mod_deflate and mod_cache can this be combined to

am 06.08.2009 06:19:52 von Shibi NS

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


--=20
--Shibi Ns--

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

Great,Thanks , I that answers my question.

e">On Thu, Aug 6, 2009 at 12:52 AM, "F=E1bio Jr." r"><=
>
wrote:

204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Shibi NS escreveu=
:


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.




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.



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.




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.




A good starting point is the Apache cache guide < ..apache.org/docs/2.2/caching.html" target=3D"_blank">http://httpd.apache.or=
g/docs/2.2/caching.html
>.



Good luck and any other doubt, i will be happy to help



[]s



=A0 F=E1bio Jr.






------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g" target=3D"_blank">users-unsubscribe@httpd.apache.org

=A0" =A0 from the digest: httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apache.o=
rg


For additional commands, e-mail: org" target=3D"_blank">users-help@httpd.apache.org






--
--Shibi Ns-=
-


--0016368324ea6b0b390470716eee--

Re: mod_deflate and mod_cache can this be combined to improve

am 11.08.2009 15:52:39 von Perrin Harkins

On Wed, Aug 5, 2009 at 1:15 AM, Shibi NS 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