php - is there any view page caching for codeigniter -
i using codeigniter db query caching , cache view pages codeigniter ci caching instead of cache whole page different pages logged in users , not logged in users please tell me there view page caching system codeigniter or db query caching best above all.
check out mp_cache library ci, it's way cache parts of pages.
compared db caching:
- reusable. parts (like site menu’s) same on every page , doesn't need cached each individual page.
- you have delete once after change made part of , not cache every page uses changed information.
compared output cache:
- caching portions of page isn’t problem.
- different cache different uses of function aren’t problem can add variable in cache “name”
you can read more on ci wiki page.
other libraries include: fragment caching library , sparks (un-supported).
Comments
Post a Comment