CodeIgniter Forums
MongoDB Output Caching Library for Code Igniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forum-22.html)
+--- Thread: MongoDB Output Caching Library for Code Igniter (/thread-31905.html)



MongoDB Output Caching Library for Code Igniter - El Forum - 07-06-2010

[eluser]WeeJames[/eluser]
As an experiment I’ve overwritten the caching mechanism to cache to MongoDB rather than the file system. I’m assuming this will be faster but haven’t had time to do proper analysis yet. This post is really just to announce that the code is available over at GitHub.

http://github.com/weejames/MongoDB-Output-Cache-for-CodeIgniter

The library overrides the existing cache handling but it syntactically compatible with the existing caching functions so you won’t need to alter your application code to use it.

Feel free to check it out and let me know your thoughts on it (either here or on my blog http://jamesconstable.co.uk/web-development/mongodb-output-caching-library-for-code-igniter/). I’ll write an update soon once i’ve done some reasonable testing to compare metrics.

Cheers

James