Welcome Guest, Not a member yet? Register   Sign In
Is there a page caching solution for me?
#1

[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.
#2

[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%!
#3

[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?
#4

[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




Theme © iAndrew 2016 - Forum software by © MyBB