qlcache
An object-relational in-memory cache, supports queries with an SQL-like query language.
Warning
This is a rather low-level library, and only provides the basic features for a cache. Things like SQL injection and other vulnerabilities and flaws should be taken into account by the user.