mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-18 18:39:42 +00:00
11 lines
324 B
Go
11 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()
|