Class: Innate::Cache::Marshal
- Inherits:
-
Object
- Object
- Innate::Cache::Marshal
- Defined in:
- lib/innate/cache/marshal.rb
Overview
Keeps every cache in a separate file like this: /tmp/innate-cache-marshal/delta-manveru-session.marshal
The Marshal cache is not safe for use between multiple processes, it is also slow compared to other caches, so generally the use of it is discouraged.
Constant Summary collapse
- STORE =
::PStore
- DIR =
'innate-cache-marshal'
- EXT =
'.marshal'
Instance Attribute Summary
Attributes included from FileBased
Method Summary
Methods included from FileBased
#cache_clear, #cache_delete, #cache_fetch, #cache_setup, #cache_store, #transaction
Methods included from API
#cache_clear, #cache_delete, #cache_fetch, #cache_setup, #cache_store