module Jekyll

Copyright: 2017 MIT License Encoding: utf-8

Copyright: 2017 - MIT License Encoding: utf-8

Public Class Methods

cache() click to toggle source

– @note this should always use FileStore. A global cache that uses the FileStore. This is meant

for quick caching (or) one off caching.

@return [FileStore] the new cache. –

# File lib/jekyll-cache.rb, line 44
def self.cache
  key = "global"
  @cache ||= Cache::FileStore.new(key)
end