-
Notifications
You must be signed in to change notification settings - Fork 205
Open
Description
I think per request cache is good but process level caching may be an alternative an more faster option.
The current implementation uses ActiveSupport::CurrentAttributes
Another adapter can be implemented with ActiveSupport::Cache::MemoryStore API.
memory_store = ActiveSupport::Cache::MemoryStore.new(size: 64.megabytes)
memory_store.write('serialized_settings', Settings.all.to_json)
memory_store.read('serialized_settings')
memory_store.delete('serialized_settings')
This idea is open to comments here.
jesus-villagroup
Metadata
Metadata
Assignees
Labels
No labels