MCPcopy
hub / github.com/gofiber/fiber / Stale

Method Stale

req.go:1193–1195  ·  view source on GitHub ↗

Stale returns the inverse of Fresh, indicating if the client's cached response is considered stale.

()

Source from the content-addressed store, hash-verified

1191
1192// Stale returns the inverse of Fresh, indicating if the client's cached response is considered stale.
1193func (r *DefaultReq) Stale() bool {
1194 return !r.Fresh()
1195}
1196
1197// IsProxyTrusted checks trustworthiness of remote ip.
1198// If Config.TrustProxy false, it returns false.

Callers

nothing calls this directly

Calls 1

FreshMethod · 0.95

Tested by

no test coverage detected