Added cache through SQLite