GZIP compression

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
Trugmaker
 
 
Posts: 83
Joined: Mon Mar 23, 2015 3:11 pm
Location: East Sussex UK
Contact:

GZIP compression

Post by Trugmaker » Sun May 22, 2016 7:51 am

Doing a SEO online test, it was recommended that I use GZIP compression. The instruction was to simply enter the code below into my .htaccess file. Is it that simple or am I missing something?

In Apache, enabling output compression is fairly straightforward. Add the following to your .htaccess file:

# compress text, html, javascript, css, xml:
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

# Or, compress certain file types by extension:
<files *.html>
SetOutputFilter DEFLATE
</files>
Never complain about getting old, the alternative is far worse!

ruel.lago22
 
 
Posts: 99
Joined: Thu Feb 01, 2018 11:32 am

Re: GZIP compression

Post by ruel.lago22 » Sun May 06, 2018 2:57 am

Were you able to make it work using this?

User avatar
BaconFries
 
 
Posts: 3897
Joined: Thu Aug 16, 2007 7:32 pm

Re: GZIP compression

Post by BaconFries » Sun May 06, 2018 6:29 am

As server related please contact your host for further assistance on this.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests