Module: Jekyll
- Defined in:
- lib/jekyll/cache/version.rb,
lib/jekyll-cache.rb,
lib/jekyll/cache/file_store.rb,
lib/jekyll/cache/null_store.rb,
lib/jekyll/cache/memory_store.rb
Overview
Copyright: 2017 MIT License Encoding: utf-8
Defined Under Namespace
Modules: Cache
Class Method Summary collapse
-
.cache ⇒ FileStore
– A global cache that uses the FileStore.
Class Method Details
.cache ⇒ FileStore
Note:
this should always use FileStore.
– A global cache that uses the FileStore. This is meant
for quick caching (or) one off caching.
–
44 45 46 47 |
# File 'lib/jekyll-cache.rb', line 44 def self.cache key = "global" @cache ||= Cache::FileStore.new(key) end |