Permalink
Browse files

Bump cache timeout to 5 sec.

  • Loading branch information...
1 parent b8e6724 commit af6b6a9cc2a7f041335de3a15013304e69313d3a @rwdaigle committed Jun 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 config.ru
View
2 config.ru
@@ -13,7 +13,7 @@ class RackCacheDemoApp < Sinatra::Base
:entitystore => "memcached://#{ENV['MEMCACHE_SERVERS']}"
get "/" do
- cache_control :public, :max_age => 15
+ cache_control :public, :max_age => 5
"Cached at #{Time.now.to_s}"
end
end

0 comments on commit af6b6a9

Please sign in to comment.