lib/proton/server.rb in proton-0.3.3 vs lib/proton/server.rb in proton-0.3.4
- old
+ new
@@ -1,8 +1,13 @@
require 'cuba'
require 'rack'
require 'proton'
+# The only time this file gets loaded is if you require it explicity, ie,
+# in a config.ru. Disable caching for when it's ran as a development-time
+# server.
+Proton::Cacheable.disable!
+
# Module: Proton::Server
# The Proton server rack application.
class Proton
Server = Cuba.dup