[Phpwm] Optimising javascript

Peter Measham pmeasham at dsl.pipex.com
Wed May 9 16:14:04 BST 2007


I've used mod_deflate to compress my sites, a good article on it is
located there:

http://www.debian-administration.org/articles/137

It also mentions using BrowserMatch to turn off gzip, when an incompatible
browser is used.

On 5/9/07, Jonathan Adjei <jadjei at ntlworld.com> wrote:
>
> After last nights meet I've decided to look at http compression for my
> sites. I know Paul mentioned zlib, so I've got that working for PHP files
> within specific virtual hosts now...
>
> php_flag register_long_arrays 1
> php_flag zlib.output_compression On
> php_value zlib.output_compression_level 5
>
>
>
> I'm confused with how to go about compressing my static files though CSS, JS
> etc...
>
> Is this done in httpd.conf as well and are people using mod_gzip or
> mod_deflate.
>
> Googling it I keep seeming to come against questions like.. I've enabled
> mod_gzip and now my pages are blank in IE...
>
> Any good pointers?
> jon
>
>
>
> :: agoG Graphic
> :: ... bringing art to the digital world
> :: http://agog.adjei.co.uk/
>
>
> _______________________________________________
> Phpwm mailing list
> Phpwm at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/phpwm
>



More information about the Phpwm mailing list