MetadataCacheFile
public class MetadataCacheFile
Constructor Summary | |
---|---|
void | __construct(mixed filename) |
Method Summary | |
---|---|
boolean | isCached() Is there already cache file |
str[] | load() Load the resource metadata from disk |
boolean | save(str resources) Save resource metadata to disk |
void | clear() |
public void __construct(mixed filename)
public boolean isCached()
Is there already cache file
public str[] load()
Load the resource metadata from disk
public boolean save(str resources)
Save resource metadata to disk
public void clear()
Cache resource metadata between invocations
This class serializes the resource metadata and writes it to disk for reading in a later request.