FileTextCache_SSCache
class FileTextCache_SSCache implements FileTextCache, Flushable (View source)
Uses SS_Cache with a lifetime to cache extracted content
Properties
Methods
This function is triggered early in the request if the "flush" query parameter has been set. Each class that implements Flushable implements this function which looks after it's own specific flushing functionality.
Details
static protected SS_Cache
get_cache()
No description
protected
getKey(File $file)
No description
load(File $file)
Return any cached extracted content for a given file entity
save(File $file, string $content)
Save extracted content for a given File entity
static
flush()
This function is triggered early in the request if the "flush" query parameter has been set. Each class that implements Flushable implements this function which looks after it's own specific flushing functionality.
invalidate(File $file)
Invalidate the cache for a given file.
Invoked in onBeforeWrite on the file