Cache
class Cache implements FileTextCache, Flushable (View source)
Uses SS_Cache with a lifetime to cache extracted content
Traits
Provides extensions to this object to integrate it with standard config API methods.
Config options
lifetime | int|null | Lifetime of cache in seconds Null defaults to 3600 (1 hour) |
Properties
Methods
public static
config()
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
from
Configurable
public
mixed
uninherited(string $name)
Gets the uninherited value for the given config option
from
Configurable
Details
static Config_ForClass
config()
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
mixed
uninherited(string $name)
Gets the uninherited value for the given config option
static protected CacheInterface
get_cache()
No description
protected string
getKey(File $file)
No description
load(File $file)
No description
save(File $file, string $content)
No description
static
flush()
No description
static void
clear()
Alias for $this->flush()
invalidate(File $file)
No description