Cache power
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -11,6 +11,7 @@ ru:
|
||||
hello: "Привет"
|
||||
settings: "Настройки"
|
||||
your_ad_here: "Здесь не могла бы<br/>быть Ваша реклама"
|
||||
like: "Нравится"
|
||||
|
||||
title:
|
||||
greetings: Привет
|
||||
|
||||
Reference in New Issue
Block a user