Cache Basic API Guide
From Joomla! Documentation
Introduction
This is one of a series of API guides, which aim to help you understand how to use the Joomla APIs through providing detailed explanations and sample code which you can easily install and run.
This API guide explains in basic terms how to use the Joomla Cache API, and focuses on the Callback type of CacheController and File type of CacheStorage. Other types are mentioned, but not described in detail.
At the end of the guide you can find the code for a simple Joomla module which you can use and adapt to experiment with the Cache APIs.
As a point of principle, you should use cache on the Joomla site only, not on the administrator back-end, and the descriptions below relate to when you have the Global Configuration (System tab) parameter System Cache set to "On – Conservative caching" and the System – Page Cache plugin is disabled.