mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-26 06:36:58 +00:00
cache branch not found and only log error if error != NotFound
This commit is contained in:
parent
7526873049
commit
8c3b74518c
3 changed files with 18 additions and 2 deletions
|
@ -67,6 +67,7 @@ func (f FileResponse) createHttpResponse(cacheKey string) (http.Header, int) {
|
|||
type BranchTimestamp struct {
|
||||
Branch string
|
||||
Timestamp time.Time
|
||||
notFound bool
|
||||
}
|
||||
|
||||
type writeCacheReader struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue