Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Add dalli caching
Browse files Browse the repository at this point in the history
  • Loading branch information
joegatt committed Aug 29, 2013
1 parent 6abcbfa commit a0b49db
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ gem 'coffee-rails'
gem 'compass-rails', github: 'milgner/compass-rails', ref: '1749c06f15dc4b058427e7969810457213647fb8'
gem 'compass-h5bp'
gem 'coveralls', require: false
gem 'dalli'
gem 'detect_language'
gem 'devise'
gem 'differ'
Expand All @@ -24,6 +25,7 @@ gem 'httparty'
gem 'isbn_validation'
gem 'jquery-rails'
gem 'json'
gem 'kgio'
gem 'meta-tags', require: 'meta_tags'
gem 'mini_magick'
gem 'nokogiri'
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ GEM
crack (0.4.1)
safe_yaml (~> 0.9.0)
daemons (1.1.9)
dalli (2.6.4)
database_cleaner (1.0.1)
debug_inspector (0.0.2)
detect_language (1.0.3)
Expand Down Expand Up @@ -402,6 +403,7 @@ DEPENDENCIES
compass-h5bp
compass-rails!
coveralls
dalli
database_cleaner (= 1.0.1)
detect_language
devise
Expand Down Expand Up @@ -429,6 +431,7 @@ DEPENDENCIES
isbn_validation
jquery-rails
json
kgio
launchy
libnotify
meta-tags
Expand Down
2 changes: 2 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@
config.active_support.deprecation = :notify

config.eager_load = true

config.cache_store = :dalli_store
end
2 changes: 2 additions & 0 deletions config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,6 @@
config.active_support.deprecation = :notify

config.eager_load = true

config.cache_store = :dalli_store
end

0 comments on commit a0b49db

Please sign in to comment.