Do you offer gzip deflate compression to speed up my website?
This article was posted in: Getting Started
Yes we do!
We run Nginx acceleration in front of our apache servers which means that all content that is not already compressed is served in a compressed format provided by gzip. Nginx is NOT a caching system. It simply serves static files very quickly indeed, and compresses everything.
https traffic, which is not handled by Nginx, is also compressed with gzip by apache.
How to test your website for compression using Firefox Web Browser
Using Mozilla Firefox web browser, and the popular Firebug extension you can check the compression status of your website's files. Just browse to your website, activate Firebug, and then click the Net tab. Refresh your page and you will find all of your site's files listed.
Clicking on one of your site's resources will display the Response Headers from our web server. In the example above we can see that the stylesheet file style.css was gzipped! This confirms that the content was served in a compressed format.
Mac and Linux users can test compression from the command line
Mac and linux users are able to check the compression of a URL quickly from the command line as follows:
curl -I -H 'Accept-Encoding: gzip,deflate' http://url_to_test
for example here is the test for the above file
$ curl -I -H 'Accept-Encoding: gzip,deflate' http://theflyingschoolltd.co.uk/wp-content/themes/santcanvas/style.css
HTTP/1.1 200 OK
Date: Thu, 21 Mar 2013 09:56:57 GMT
Last-Modified: Sat, 21 Jan 2012 13:00:14 GMT
Expires: Fri, 22 Mar 2013 09:56:57 GMT
The last line, above, shows that the content is gzip compressed.