changed the cache to be based on documents
9.0.0