Chain Cache itself extends the Cache Provider interface, so it is possible to create chains of chains.
While this may seem like an easy way to build a simple high-availability cache, Chain Cache does not implement any exception handling so using it as a high-availability mechanism is not recommended.
Chain Cache automatically handles pushing data up to faster caches in the chain and clearing data in the entire stack when it is deleted.
Imagine you have a heavily trafficked website with some code that checks for the existence of a cache record and if it does not exist it generates the information and saves it to the cache.
Below is a simple example of how you could use the APC cache driver by itself.