Play with solid_cache #34
2 changed files with 9 additions and 3 deletions
|
@ -10,8 +10,14 @@ default: &default
|
|||
timeout: 5000
|
||||
|
||||
development:
|
||||
primary:
|
||||
<<: *default
|
||||
database: db/development.sqlite3
|
||||
cache:
|
||||
<<: *default
|
||||
database: db/development_cache.sqlite3
|
||||
migrations_paths: db/cache_migrate
|
||||
|
||||
|
||||
# Warning: The database defined as "test" will be erased and
|
||||
# re-generated from your development database when you run "rake".
|
||||
|
|
|
@ -28,7 +28,7 @@ Rails.application.configure do
|
|||
end
|
||||
|
||||
# Change this to :null_store to avoid any caching
|
||||
config.cache_store = :memory_store
|
||||
config.cache_store = :solid_cache_store
|
||||
|
||||
# Store uploaded files on the local file system (see config/storage.yml for options).
|
||||
config.active_storage.service = :local
|
||||
|
|
Loading…
Reference in a new issue