![]() |
Languages: |
English |
This article is tagged because it NEEDS REVIEW. You can help the Joomla! Documentation Wiki by contributing to it.
More pages that need help similar to this one are here. NOTE-If you feel the need is satistified, please remove this notice.
A Joomla administrator can use these caches and options:
If you want to check out other cache systems and possibilities, you might want to check out the third-party extensions around caching.
Here you can choose which system you want your site to use for all caching. Current options are: APC, Eaccelorator, File, Memcache, XCache.
APC, for example, also caches your php opcode.
The class JCache allows a lot of different sorts and levels of caching. The following sub-classes are made specifically, but you can add your own, or use the main one in many different ways.
Don't forget that the first level of cache encountered, will override any deeper caching. I suppose that too many levels is also counterproductive (to be verified though).
This can automatically be done via the base controller's display function. For example in the controller of your component:
class DeliciousController extends JController { function display() { parent::display(true); //true asks for caching. } }
If you want to cache queries, this is a good class for it, as illustrated here: Using caching to speed up your code
This is rather meant for caching a specific part of php code. It acts like an output buffer, but cached.