Content Compression

Content Compression

by Lei Zhang -
Number of replies: 2
Is anyone use content compression for their moodle install? Does it help with moodle performance at all?

What's the difference between PHP and Apache content compression?

I'm aware of enable content compression would increase CPU load, but on the other hand, it should improve the moodle performance in theory if we can use either compression method, at least improve the bandwidth.
Average of ratings: -
In reply to Lei Zhang

Re: Content Compression

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Yes you can use mod_gzip in Apache with great results.

It does create a little extra CPU load but if you can support that then do it!

I don't recommend PHP compression, that would require modification to Moodle itself.
Average of ratings: Useful (1)