RubyGems.org

If you're building an application that has both online and offline functionality it can be useful to know if the site is really still up (because you can't rely on navigator.onLine). This middleware allows you to poll /online or the path of your choice and return simple text or the result of a block without involving the whole application stack. Meaning, you can poll more frequently without melting your server.

installgem install is_the_site_still_up
Authors

Byliner Inc.

783 total downloads 783 for this version
Owners

D8daae35e495689a5f17d86f15d18eb4

Licenses

MIT

Gemfile
gem 'is_the_site_still_up', '~> 0.1.0'
Versions
  1. 0.1.0 January 15, 2013 (7.5 KB)
Runtime Dependencies
  1. rack >= 0