Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: beast on May 07, 2011, 07:51:52 AM

Title: How to enable php and javascript compression in apache
Post by: beast on May 07, 2011, 07:51:52 AM
Hi All

Like to enable compression of html data but what is the right way to do it?

I have seen generic guides on the net, references to mod_gzip and mod_deflate. But how do I do it up to date with SME server?

Regards
Benny
Title: Re: How to enable php and javascript compression in apache
Post by: cactus on May 07, 2011, 03:23:42 PM
Like to enable compression of html data but what is the right way to do it?

I have seen generic guides on the net, references to mod_gzip and mod_deflate. But how do I do it up to date with SME server?
All most the same, the only difference is  that on SME Server you should not modify the configuration files directly but create custom template fragments to overload the defaults. See the SME Server Development Guide in the wiki.
Title: Re: How to enable php and javascript compression in apache
Post by: piran on May 07, 2011, 03:40:29 PM
Sleepy's excellent contrib (SME7 mod_deflate):
http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewsdownload&sid=59&orderby=dateD&newlang=eng
Title: Re: How to enable php and javascript compression in apache
Post by: beast on May 09, 2011, 02:25:04 PM
Sleepy's excellent contrib (SME7 mod_deflate):
http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewsdownload&sid=59&orderby=dateD&newlang=eng

Will test it out right away - thank you!