Can I enable GZIP Web Server Compression?

Gzip is a great of compressing files for faster network transfers - helping them load faster, so improving site speed. It's also a file format.

We encourage the use of and enable Gzip Compression by default across all of our platforms. Compression is handled automatically by our Edge Cache systems, so no configuration is needed on your part.

Note: Our temporary URL system does not utilise our edge caching, so any external tests for compression against the temporary URL will show compression as disabled. This is expected and will not be the case when testing against your actual domain name.

Manual Configuration

If you're experiencing problems or want to enable compression manually you can do so via a “.htaccess” file.

  • Create, or edit if one already exists a file named “.htaccess” in your public_html directory.
  • Add the following line:


AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript

 

3. Save your changes.

  • 0 Bu dökümanı faydalı bulan kullanıcılar:
Bu cevap yeterince yardımcı oldu mu?

İlgili diğer dökümanlar

Can you update the version of cURL on your webservers?

Occasionally, applications in your webspace may run checks to help ensure your website is secure....

Is Node.JS supported on the RabHost shared hosting platform?

Node.JS isn't currently supported on the shared hosting platform. If you need to use Node.JS,...

Why is my website not able to send email?

A common reason for this relates to the address not matching your site domain. To help improve...

What do I do if I believe a site is in breach of RabHost policies?

RabHost impose a strict Acceptable Use Policy and Terms of Service which customers must...

Is mod_rewrite enabled?

Yes! As standard, mod_rewrite is available and installed on our WordPress and Linux servers....