This core class handles File caching.
These functions provide simple mechanism for caching both item and non item information. Use these functions if you have anythinf to do that should normally not been done on the fly.
For example you are going to rescale an Image, do it and then save it as cache File!
Remember to delete your Cache Files from time to time!
Caching will be done in the subdirectory "cache" below your Consumer Home:
- /consumer/cid{CID}/cache/
Works as createItemCacheFile(_BIGACE_DEFAULT_CACHE_ITEMTYPE, $name, $options, $content)
Creates a Cache File.
Works as deleteItemCacheFile(_BIGACE_DEFAULT_CACHE_ITEMTYPE, $name, $options)
Removes physically the Cache File from the filesystem
This fluishes the entire Cache.
Before using this function aks yourself: "Do I really want to delete all Cache Files? Answer: YES - allright, go ahed. Answer: NO/DON'T KNOW - forget it, the result might be a performance leak within Scripts that extensively use caching as Performance Strategy. Try to remove Cache Files by explicit Identifiers.
Works as existsItemCacheFile(_BIGACE_DEFAULT_CACHE_ITEMTYPE, $name, $options)
Checks if a Cache File exists for the given parameter combination.
Tries to expire all cached Files for the given Itemtype/ItemID combination.
We do not care about the Options while creating the Cache Files.
Works as getItemCacheContent(_BIGACE_DEFAULT_CACHE_ITEMTYPE, $name, $options)
Reads the content from Cache File.
Documentation generated by phpDocumentor 1.3.1