Welcome Visitor, Please Login or Register Now Saturday, December 21, 2024 05:13 PM 
Forums Index > Mewsoft > FAQ > Hosting - Optimize Website Speed Up To 90% Enabling GZIP
New Topic   New Reply
Search for:
Author Message
mewsoft mewsoft's personal page
Administrator Team Member
Posts: 5381 Display member's posts
Joined: 12-21-24 05:13 PM
Location: knxoville, TN, USA
Member Offline
View Member's Profile Visit member's website Mewsoft Corporation Send private message ICQ Messenger: ICQ AIM Messenger: AIM YIM Messenger: Yahoo MSN Messenger: MSN
 
Back to top
Hosting - Optimize Website Speed Up To 90% Enabling GZIP Edit Delete Reply with quote Quote
First Post Posted on: 04-17-20 08:59 AM last post first post

Optimize Website Speed


Enabling gzip compression for output content on your domain can speed website by up to 90% for all contents like html, css, and javascript and any content.


To enable compression for all your website output automatically through the Apache webserver on a cpanel site control panel, do this:


1) - Server administrator Step from WHM

  1.1) - Make sure Apache mod_defalt enabled on your server.

            Via root WHM access at the following menu path: WHM: Main >> Software >> EasyApache (Apache Update)

  1.2) - Enable KeepAlive

            WHM Home » Service Configuration » Apache Configuration » Global Configuration.

            In most cases, I'd recommend the use of Keepalives, but on busier servers I usually have this set at 3 seconds instead of the default 15.


2) - Website administrator Step from cpanel

From Cpanel for the site, go into "Optimize Website" and you can enable page compression from there.


You can manually enable gzip compression in .htaccess with code like this:


AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript


Testing compression

To see if gzip compression is working use our gzip compression tool (https://varvy.com/tools/gzip/).

Also consider using the page speed tool (https://varvy.com/pagespeed/)  which will test compression and many other factors.


Mewsoft Support
www.mewsoft.com

Page 1 of 1
Go to page:

New Topic   New Reply Mark Unread
Jump to:  
Delete   Move     Lock   +Favorits   +Notify   Print