CodeIgniter Forums
Is there a page caching solution for me? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Is there a page caching solution for me? (/showthread.php?tid=14470)



Is there a page caching solution for me? - El Forum - 01-03-2009

[eluser]little brittle[/eluser]
The included CI caching is extremely limited, and I was reading that a combination of APC, Memcache or eAccelerator would substantially improve performace. I was wondering if there was a single caching solution, or a combination of libraries for my CI app that requires the following:

- Expire a specific cached page on demand.

- Granular caching.

- Serve 2 versions of the same page. Non-registered users would receive a generic full page cache, and registered users would receive a granular cache where sections of the page would be populated with their unique user info.

- I would love something that cached HTTP headers, but I don't think that is possible since I need to determine whether the person is logged in or not before serving the page.


Is there a page caching solution for me? - El Forum - 01-03-2009

[eluser]BeingDefined[/eluser]
Bit of topic but I highly recommend you try out eAccelerator. One of my large site was overloading one of my server and after few hours of comparing different methods, I went for eaccelerator. The pages now load 2-3 times faster and at the same time, the average load of 40-50% is now 10-20%!


Is there a page caching solution for me? - El Forum - 03-02-2009

[eluser]bikuta[/eluser]
May I ask what needs to be done in order to get a website to use eAccelerator? I have a server setup that has eAccelerator installed, is there anything that needs to be added to the code?


Is there a page caching solution for me? - El Forum - 03-02-2009

[eluser]Jelmer[/eluser]
Take a look at my MP_Cache library. It doesn't do what you want, but it does give you the tools to built your own shell around.

CodeIgniter Wiki: MP Cache