(#2180) - add fetchedDocs optimization to idb

Follow-up to #2178.  If it's good enough for
websql, then it's good enough for idb.