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.
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 will transfer 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.
Sites with slowly-changing dynamic content would benefit the most from Railgun.
How to Enable Railgun
Follow these steps to enable CloudFlare Railgun for your site:
- Go to the Domains -> Manage Domains section of the DreamHost Panel and either Add a New Domain, or Edit an existing Domain.
- Scroll down to the CloudFlare Services section of the page.
- Be sure you have CloudFlare enabled before proceeding.
- Locate the Enable CloudFlare Railgun? section and select the checkbox.
- Locate and select the Change Settings button at the bottom of that section.
To disable Railgun, repeat the steps above but make sure to uncheck the Enable CloudFlare Railgun? box.