[Phpwm] Optimising javascript

Keith Pope keith.pope at allpay.net
Wed May 9 16:56:09 BST 2007


If you are on apache 2.x use mod_deflate :)

The apache manual has the directives you need to include in the httpd.conf 

-----Original Message-----
From: phpwm-bounces at mailman.lug.org.uk
[mailto:phpwm-bounces at mailman.lug.org.uk] On Behalf Of Jonathan Adjei
Sent: 09 May 2007 14:39
To: phpwm at mailman.lug.org.uk
Subject: [Phpwm] Optimising javascript


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


-- 
allpay.net Limited, Fortis et Fides, Whitestone Business Park, Whitestone, Hereford, HR1 3SE. 
Registered in England No. 02933191. UK VAT Reg. No. 666 9148 88. 

Telephone: 0870 243 3434, Fax: 0870 243 6041. 
Website: www.allpay.net
Email: enquiries at allpay.net 

This email, and any files transmitted with it, is confidential and intended solely for the use of the individual or entity to whom it is addressed. If you have received this email in error please notify the allpay.net Information Security Manager at the number above.



More information about the Phpwm mailing list