Skip to content
1 change: 1 addition & 0 deletions internal/validationresponsehandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func (r *validationResponseHandler) HandleValidationResponse(
// RFC 9111 §4.3.3 Handling Validation Responses (304 Not Modified)
// RFC 9111 §4.3.4 Freshening Stored Responses upon Validation
updateStoredHeaders(ctx.Stored.Data, resp)
_ = r.rs.StoreResponse(req, ctx.Stored.Data, ctx.URLKey, ctx.Refs, ctx.Start, ctx.End, ctx.RefIndex)
Comment thread
bartventer marked this conversation as resolved.
Outdated
CacheStatusRevalidated.ApplyTo(ctx.Stored.Data.Header)
r.l.LogCacheRevalidated(req, ctx.URLKey, ctx.ToMisc(nil))
return ctx.Stored.Data, nil
Expand Down
Loading