Codeigniter - cache only part of the view |
Have you seen or tried this?
http://www.codeigniter.com/user_guide/li...ching.html You can use this to cache anything you want of an x amount of time. Depending on your server you will need to choose a driver. The library does check if a driver is available when using the Cache interface. When directly using a cache driver you will need to check manually. To play it save you can just always use the file driver. How to use: PHP Code: // Load APC cache driver or fallback to file when APC not available It is that easy. |
Messages In This Thread |
Codeigniter - cache only part of the view - by henry_miaomiao - 12-12-2015, 07:01 AM
RE: Codeigniter - cache only part of the view - by henry_miaomiao - 12-13-2015, 03:04 AM
RE: Codeigniter - cache only part of the view - by PaulD - 12-13-2015, 02:21 PM
RE: Codeigniter - cache only part of the view - by cartalot - 12-13-2015, 09:53 PM
RE: Codeigniter - cache only part of the view - by Martin7483 - 12-14-2015, 03:58 AM
RE: Codeigniter - cache only part of the view - by henry_miaomiao - 12-14-2015, 09:17 AM
|