Permalink
Browse files

cache

  • Loading branch information...
1 parent 24daad8 commit 02cf973e75dc6a1ba7916ffc933f8eb7c41efc74 @stefl committed Jun 17, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 app/app.rb
View
@@ -2,7 +2,9 @@ class YeBay < Padrino::Application
register Padrino::Rendering
register Padrino::Mailer
register Padrino::Helpers
-
+ register Padrino::Cache
+ enable :caching
+
set :cache, Padrino::Cache::Store::Memcache.new(::Dalli::Client.new())
##

0 comments on commit 02cf973

Please sign in to comment.