Activate Gzip for your website

This article deals with activating Gzip on your site.
What this does is compress your site on the server, which makes your site load a lot faster and takes up less resources.
It can be configured via the web.config in the file manager or an FTP client.
You will also need a text editor, this can be Notepad, Notepad++ or Scite. Choose your favorite.

Next you open your web.config in the text editor and modify it as follows:

<?xml version="1.0" encoding="UTF-8"?> <
configuration> <
system.webServer> <staticContent>


<remove fileExtension=".
js" />
<mimeMap fileExtension=".js" mimeType="text/javascript" />
</staticContent> <
httpCompression directory="%SystemDrive% Temporary Compressed Files">
<scheme name="gzip" dll="%Windir%system32.dll"/> <
;dynamicTypes> <add mimeType="text/*"
enabled="true"/>
<add mimeType="message/*" enabled="true"/> <add mimeType=
"application/javascript" enabled="true"/>
<add mimeType="*/*" enabled="false"/> </dynamicTypes>
<staticTypes>

<add mimeType="text/*" enabled="true"/> <add mimeType="message/*
" enabled="true"/>
<add mimeType="application/javascript" enabled="true"/> <add mimeType="*/*"
enabled="false"/>
</staticTypes> </httpCompression>
; <urlCompression doStaticCompression=
"true" doDynamicCompression="true"/>



















<directoryBrowse enabled="false" /> <defaultDocument>
;
<files>
<clear /> <add value="Default.
htm" />
<add value="Default.asp" />
<add value="index.htm" /> <add value="index.
html" />
<add value="iisstart.htm" /> <add value="default.
aspx" />
<add value="index.php" />
</files> </defaultDocument> </system
.
webServer> <












;













/configuration> After this
















you
















can
















test whether Gzip is activated by looking at the headers in a browser of your choice.
You do this by pressing F12 on your page and then go to NET, here you can check the following line:

Content-Encoding: gzipIf

this is in between then gzip has been activated, it is useful to check if it has actually made a difference by holding the size of the end result next to the original.
You can also compare the loading times.

















If everything went well you will see a significant difference between with and without compression.

If you have further questions you can always see if there is someone on the online chat.
Or you can create a ticket for this in the customer panel.