Cache Library for Codeigniter, using database and json