Russia
|
"To cache or not to cache? That is the question!" (c) W. Shakespeare
Where to cache?
It is set in config. May be "file" or "sql".
I prefer the "file" method because of minimuzing the sql server loading.
What to cache?
This is defined by developers.
As usual, all the often used data can be cached.
I.e. forum list, compiled templates, styles, smiles, plugin data, statistics, etc.
All the used cache types can be discovered by browsing the "/source/function/cache/" folder.
When to cache?
It is configured by the "cache live time", and can be different for different data.
Who doing the cache?
The caching feature is called from a lot of engine places.
But the core caching feature is placed in "/source/function/cache/function_cache.php".
How the cache is made?
Let you digg it by yourself, just look inside the "/source/function/cache/function_cache.php" file.
|
|