go.mercari.io/datastore@v1.8.2/dsmiddleware/localcache/doc.go (about) 1 /* 2 Package localcache handles Put, Get etc to Datastore and provides caching by machine local memory. 3 How the cache is used is explained in the storagecache package's document. 4 5 The local cache can not be deleted from other machines. 6 Therefore, if the cache holding period becomes long, there is a possibility that the data is old. 7 As a countermeasure, we recommend keeping the lifetime of the cache as long as processing one request. 8 */ 9 package localcache // import "go.mercari.io/datastore/dsmiddleware/localcache"