added clear method for PouchDB cache