pages-server/server/upstream/2rm.go

11 lines
324 B
Go
Raw Normal View History

2021-12-05 13:47:33 +00:00
package upstream
import "github.com/OrlovEvgeny/go-mcache"
// branchTimestampCache stores branch timestamps for faster cache checking
var branchTimestampCache = mcache.New()
// fileResponseCache stores responses from the Gitea server
// TODO: make this an MRU cache with a size limit
var fileResponseCache = mcache.New()