client-side caching of database!