mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-19 11:36:57 +00:00
cache more
This commit is contained in:
parent
92c88cff03
commit
8e008c895a
2 changed files with 31 additions and 13 deletions
|
@ -68,8 +68,9 @@ func (f FileResponse) createHttpResponse(cacheKey string) (header http.Header, s
|
|||
}
|
||||
|
||||
type BranchTimestamp struct {
|
||||
Branch string `json:"branch"`
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
NotFound bool `json:"notFound"`
|
||||
Branch string `json:"branch,omitempty"`
|
||||
Timestamp time.Time `json:"timestamp,omitempty"`
|
||||
}
|
||||
|
||||
type writeCacheReader struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue