This article covers CloudFlare Railgun and how to enable it for your domain at DreamHost. CloudFlare provides your domain with a suite of technologies that protects and optimizes your website, and CloudFlare Railgun is a specific Cloudflare technology that can be enabled to improve the performance of your site even further.
Railgun improves the performances of the domain by caching content on your website that has traditionally been uncacheable. It does this by tracking changes to website content on the byte level and improving the connection between DreamHost’s servers, CloudFlare’s servers, and the visitor. Sites with slowly-changing dynamic content would benefit the most from Railgun.
Railgun is a special technology that’s offered free of charge to CloudFlare enabled domains. It’s normally only offered by CloudFlare as part of its Business subscription, but Railgun is available to both Basic plans or CloudFlare Plus at DreamHost.
For more detailed information on CloudFlare and how to enable it, please see the CloudFlare article.
How does Railgun work?
Railgun uses alternative compression techniques to dramatically speed up the performance of your site. It proxies traffic through a special protocol that would normally travel between CloudFlare and your web server over HTTP, which speeds up and secures the connection. According to CloudFlare, this achieves a 99.6% compression ratio and on average, a 730% performance increase.
Typically, the markup of websites does not change that frequently from one request to the next. Instead of transferring the entire request between CloudFlare and your environment, Railgun transfers only the changes in markup from one request to the next. This cuts down on bandwidth, transfer time, and overall page load times. Railgun caches these differences in memory to make page processing as fast as possible.
Railgun was made available on DreamHost on January 28th, 2013.
You can read more about how CloudFlare railgun works on CloudFlare's site:
- How to enable / disable CloudFlare Railgun
- How to check if CloudFlare Railgun is working
- CloudFlare overview
- CloudFlare FAQs
- How to enable CloudFlare on your domain