• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a page caching solution for me?

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

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%!

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?

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.