[Mod_gzip] simple question

Christian Kruse mod_gzip@lists.over.net
Tue, 8 Oct 2002 10:46:03 +0200


Hello,

On Mon, Oct 07, 2002 at 05:16:19PM -0700, Gilles Gros wrote:
> In term of efficientcy in the config file 
> what is it better to write ?
> 
> mod_gzip_item_include file \.(html|dhtml|php|css)$
> 
> or
> 
> mod_gzip_item_include file \.html$
> mod_gzip_item_include file \.dhtml$
> mod_gzip_item_include file \.php$
> mod_gzip_item_include file \.css$

The first version seems to be more efficient because there is
only one rule to check, not three rules.

Greetings,
 CK