MetadataCacheAPC
public class MetadataCacheAPC
Constructor Summary | |
---|---|
void | __construct(mixed cacheName) |
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 cacheName)
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 writes the resource metadata to APC for reading in a later request.