Cache power

This commit is contained in:
magnolia-fan
2011-11-28 16:24:47 +04:00
parent 4c40a928ab
commit 23cf09613d
13 changed files with 60 additions and 30 deletions
+3
View File
@@ -27,4 +27,7 @@ Beathaven::Application.configure do
# Expands the lines which load the assets
config.assets.debug = true
# Storing cache inside app process
config.cache_store = :memory_store
end
+1 -1
View File
@@ -37,7 +37,7 @@ Beathaven::Application.configure do
# config.logger = SyslogLogger.new
# Use a different cache store in production
# config.cache_store = :mem_cache_store
config.cache_store = :dalli_store
# Enable serving of images, stylesheets, and JavaScripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"
+1
View File
@@ -11,6 +11,7 @@ en:
hello: "Hi there"
settings: "Settings"
your_ad_here: "Your ad couldn't<br/>be here"
like: "Like"
title:
greetings: Greetings
+1
View File
@@ -11,6 +11,7 @@ ru:
hello: "Привет"
settings: "Настройки"
your_ad_here: "Здесь не могла бы<br/>быть Ваша реклама"
like: "Нравится"
title:
greetings: Привет