zlib compression creates error in SCORM

zlib compression creates error in SCORM

by Anil Sharma -
Number of replies: 2

Hi everyone

I just enable zlib compression by adding the following lines in .htaccess

php_flag zlib.output_compression On
php_value zlib.output_compression_level 5

This definately increases the speed of the website, but the only problem we see is the SCORM gives an API not found error.

Is there a way around it ? Is there any other way to enable zlib / gzip compression ?

Average of ratings: -
In reply to Anil Sharma

Re: zlib compression creates error in SCORM

by Ne Nashev -
I do'nt know is it it, but in http://php.net/manual/ref.zlib.php in comments exists warning about using function call header('Content-Length: '.***)  in compressed pages. This function is actually called in /file.php for downloaded files and may be it make error...
In reply to Anil Sharma

Re: zlib compression creates error in SCORM

by Iñaki Arenaza -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Is there any other way to enable zlib / gzip compression ?

You can do it in apache, with mod_gzip.

Saludos. Iñaki.