Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cache

  • Loading branch information...
commit 02cf973e75dc6a1ba7916ffc933f8eb7c41efc74 1 parent 24daad8
@stefl authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 app/app.rb
View
4 app/app.rb
@@ -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())
##
Please sign in to comment.
Something went wrong with that request. Please try again.