Class: Innate::Cache::YAML
- Inherits:
-
Object
- Object
- Innate::Cache::YAML
- Includes:
- API, FileBased
- Defined in:
- /home/manveru/github/ramaze/ramaze.net/tmp/git/innate/lib/innate/cache/yaml.rb
Overview
Keeps every cache in a separate file like this: /tmp/innate-cache-yaml/delta-manveru-session.yaml
The YAML cache is not safe for use between multiple processes, it is also very slow compared to other caches, so generally the use of it is discouraged.
Constant Summary
- STORE =
::YAML::Store
- DIR =
'innate-cache-yaml'
- EXT =
'.yaml'
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