Application level cache in CodeIgniter

282 views Asked by At

Is there any thing call application level cache objects in codeIgniter? Just like in Spring (Java EE) web applications? Further in Spring if we use ehcache then more options like FIFO,LIFO etc.

1

There are 1 answers

0
Ian Cant On

Yes this is possible and is handled using the Web Page Caching functionality - see user guide link here for details. This enables you to cache an entire page and skip a large amount of the framework processing for that page.

If you are looking for finer controlled caches then you are looking to install something like APC or Memcache in to PHP and then run one of the caching drivers. This enables you also to cache specific parts of each request.