Module: Jekyll

Defined in:
lib/jekyll/cache.rb,
lib/jekyll/cache/version.rb,
lib/jekyll/cache/file_store.rb,
lib/jekyll/cache/memory_store.rb

Defined Under Namespace

Modules: Cache

Class Method Summary collapse

Class Method Details

.cacheFileStore

Note:

this should always use FileStore.

– A global cache that uses the FileStore. This is meant

for quick caching (or) one off caching.

Returns:

  • (FileStore)

    the new cache.



43
44
45
# File 'lib/jekyll/cache.rb', line 43

def self.cache
  @cache ||= Cache::FileStore.new("global")
end