Codeigniter - cache only part of the view |
In my CI application I use to load differents parts of the view:
Code: $data['header'] = $this->load->view('header', $data, true); I would like to use the cache system: $this->output->cache(60); // Will expire in 60 minutes but the "menu user" for example, verifies every time if the user is logged or no. It doesn't need to be cached. Is there a way for cache only some "part" of the page? |
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
|