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
How to enable compression for cmsms version 1.11.4[solved]
How to enable compression for cmsms version 1.11.4[solved]
Last edited by suadmin on Tue Mar 19, 2013 3:06 am, edited 1 time in total.
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: How to enable compression for cmsms version 1.11.4
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
Hi,
So is there any other way i can enable output_compression?
Regards,
Anisha
So is there any other way i can enable output_compression?
Regards,
Anisha
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: How to enable compression for cmsms version 1.11.4
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.
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.
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.
Re: How to enable compression for cmsms version 1.11.4
Hi,
So no compression enability from cmsms. Thanks a lot for your response.
Regards,
Anisha
So no compression enability from cmsms. Thanks a lot for your response.
Regards,
Anisha