Page 1 of 1

How to enable compression for cmsms version 1.11.4[solved]

Posted: Mon Mar 11, 2013 5:36 am
by suadmin
Hi all,

I have developed my website in cmsms version 1.11.4 and when i go to config and add the code $config['output_compression'] = true; the compression is not enabled.

The code worked for compression in older version of cmsms.

My server does not hold gzip module for compression so for increasing the page load speed i was using the above code, but now i am not able to.

Please suggest how compression can be enabled so that i can have an increase in page load speed.

Thanks,
Anisha

Re: How to enable compression for cmsms version 1.11.4

Posted: Mon Mar 11, 2013 7:18 am
by staartmees
According to CMSMS_config_reference.pdf in the doc-map, output_compression has been removed since cms ms 1.11

Re: How to enable compression for cmsms version 1.11.4

Posted: Tue Mar 12, 2013 3:17 am
by suadmin
Hi,

So is there any other way i can enable output_compression?

Regards,
Anisha

Re: How to enable compression for cmsms version 1.11.4

Posted: Tue Mar 12, 2013 4:15 am
by calguy1000
the output_compression config option was removed from CMSMS 1.11 because:
a: it was an option that was used relatively little
b: it caused problems with things like ajax requests, and file downloads
c: it is an option best left to the server that can easily enable compression based on file extension or mime type.

mod_deflate, and mod_gzip are two common options for enabling output compression in apache servers (if your host doesn't provide either, talk to them).

The sample .htaccess file shipped with CMSMS automatically enables mod_deflate for HTML, images, and other content types.

The option is also available (from what I understand) for IIS servers.

Re: How to enable compression for cmsms version 1.11.4

Posted: Tue Mar 12, 2013 6:36 am
by suadmin
Hi,

So no compression enability from cmsms. Thanks a lot for your response.

Regards,
Anisha