MCPcopy Create free account
hub / github.com/Deleplace/programming-idioms / htmlCacheRead

Function htmlCacheRead

web/appengine/htmlCache.go:27–39  ·  view source on GitHub ↗

Sometimes we want to saved whole blocks of template-generated HTML into HTML, and serve it again later. htmlCacheRead returns previously saved bytes for this key, It returns nil if not found, or expired, or on memcache error. There is no guarantee that previously cached data will be found, because

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

ajaxAboutAllIdiomsFunction · 0.85
idiomDetailFunction · 0.85
htmlCacheZipReadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected