mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-05 14:07:01 +00:00
10 lines
324 B
Go
10 lines
324 B
Go
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()
|