How to enable compression for cmsms version 1.11.4[solved]

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
suadmin
Forum Members
Forum Members
Posts: 36
Joined: Tue Jan 22, 2013 7:29 am

How to enable compression for cmsms version 1.11.4[solved]

Post 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
Last edited by suadmin on Tue Mar 19, 2013 3:06 am, edited 1 time in total.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: How to enable compression for cmsms version 1.11.4

Post by staartmees »

According to CMSMS_config_reference.pdf in the doc-map, output_compression has been removed since cms ms 1.11
suadmin
Forum Members
Forum Members
Posts: 36
Joined: Tue Jan 22, 2013 7:29 am

Re: How to enable compression for cmsms version 1.11.4

Post by suadmin »

Hi,

So is there any other way i can enable output_compression?

Regards,
Anisha
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: How to enable compression for cmsms version 1.11.4

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
suadmin
Forum Members
Forum Members
Posts: 36
Joined: Tue Jan 22, 2013 7:29 am

Re: How to enable compression for cmsms version 1.11.4

Post by suadmin »

Hi,

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

Regards,
Anisha
Post Reply

Return to “The Lounge”