[eluser]XMadMax[/eluser]
I have simplified one of my 'essential' libraries, and I want to share with the community:
XCache is a library to cache sql commands and also any activerecord command the time you have configured for each query/group of queries.
A group of queries would be getUser, getUserById, getUserByName...
Each of this can have a different configured TTL (time to live).
Now can save cache in files and memcache, compressed and uncompressed. I am working to add redis, apc and mongodb drivers.
Works with any codeigniter drivers (oracle, mysql, pdo. postgress, sqlite...)
Easy to install and test.
Whats's next ?:
1) Add examples to use page cache, methods cache, views cache and url's cache.
2) XCache is now prepared to use CI driver library. I want to separate logic to memcache/files, and add redis and mongodb to drivers.