Implement cache driver for Sqlite.