Welcome Guest, Not a member yet? Register   Sign In
DB Activerecord Cache
#1

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

[eluser]XMadMax[/eluser]
New version 1.2.

Added Driver capability, with file and memcache drivers.

Solved getQuery, returned only result(), now returns CI_DB_result

#3

[eluser]XMadMax[/eluser]
Updated library due a case problems in Linux.





Theme © iAndrew 2016 - Forum software by © MyBB