Home / Class/ cacheableStatusCodes Class — fiber Architecture

cacheableStatusCodes Class — fiber Architecture

Architecture documentation for the cacheableStatusCodes class in cache.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  f4e5606e_e645_ebe2_0448_0a357e4279bf["cacheableStatusCodes"]
  af95e058_7e86_ec88_42f0_cd294e342508["cache.go"]
  f4e5606e_e645_ebe2_0448_0a357e4279bf -->|defined in| af95e058_7e86_ec88_42f0_cd294e342508

Relationship Graph

Source Code

middleware/cache/cache.go lines 92–105

var cacheableStatusCodes = map[int]struct{}{
	fiber.StatusOK:                          {},
	fiber.StatusNonAuthoritativeInformation: {},
	fiber.StatusNoContent:                   {},
	fiber.StatusPartialContent:              {},
	fiber.StatusMultipleChoices:             {},
	fiber.StatusMovedPermanently:            {},
	fiber.StatusPermanentRedirect:           {},
	fiber.StatusNotFound:                    {},
	fiber.StatusMethodNotAllowed:            {},
	fiber.StatusGone:                        {},
	fiber.StatusRequestURITooLong:           {},
	fiber.StatusNotImplemented:              {},
}

Frequently Asked Questions

What is the cacheableStatusCodes class?
cacheableStatusCodes is a class in the fiber codebase, defined in middleware/cache/cache.go.
Where is cacheableStatusCodes defined?
cacheableStatusCodes is defined in middleware/cache/cache.go at line 92.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free