| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/ja/docs/Web/HTTP/Reference/Headers/Cache-Control | [Back] [Original] |
Get to know MDN better
Cache-Control: <>, <>, ...
Cache-control: max-age=180, public =) Cache-control: max-age=12 Cache-Control
max-age |
max-age |
max-stale |
- |
min-fresh |
- |
| - | s-maxage |
no-cache |
no-cache |
no-store |
no-store |
no-transform |
no-transform |
only-if-cached |
- |
| - | must-revalidate |
| - | proxy-revalidate |
| - | must-understand |
| - | private |
| - | public |
| - | immutable |
| - | stale-while-revalidate |
stale-if-error |
stale-if-error |
max-ageCache-Control: max-age=604800
Cache-Control: max-age=604800
Age: 100
s-maxage s-maxage (max-age ) s-maxage max-age max-age
Cache-Control: s-maxage=604800
no-cache no-cache
Cache-Control: no-cache
no-cache
no-cache no-store
must-revalidatemust-revalidate max-age
Cache-Control: max-age=604800, must-revalidate
HTTP must-revalidate 504 (Gateway Timeout)
proxy-revalidate proxy-revalidate must-revalidate
no-store no-store
Cache-Control: no-store
private private
Cache-Control: private
Cookie private
private
publicpublic Authorization public
Cache-Control: public
Basic Digest Authorization max-age
public
Cache-Control: public, max-age=604800
s-maxage must-revalidate
Authorization s-maxage must-revalidate public
must-understand must-understand
must-understand no-store
Cache-Control: must-understand, no-store
must-understand no-store
must-understand
no-transform(intermedialies)
no-transform
immutableCache-Control: public, max-age=604800, immutable
/ URL /URL cache-busting
<script src="https://example.com/react.0.0.0.js"></script>
cache-busting max-age immutable
stale-while-revalidate stale-while-revalidate
Cache-Control: max-age=604800, stale-while-revalidate=86400
stale-if-errorCache-Control: max-age=604800, stale-if-error=86400
stale-if-error
no-cache no-cache
Cache-Control: no-cache
no-cache
no-store no-store
Cache-Control: no-store
max-agemax-age=N N N 0
Cache-Control: max-age=10800
Cache-Control: max-age=10800 3 max-age Age
Cache-Control: max-age=0
max-age=0 no-cache (HTTP/1.0 ) no-cache max-age=0 no-cache
max-age -1 3599.99 0
max-staleCache-Control: max-stale=3600
1
max-stale
min-freshCache-Control: min-fresh=600
51 Cache-Control: max-age=3600
min-fresh
no-transform no-transform
only-if-cachedstale-if-error no-store
Cache-Control: no-store
no-cache
Cache-Control: no-cache
private, no-cache, max-age=0, must-revalidate no-store
#
Cache-Control: private, no-cache, no-store, max-age=0, must-revalidate
#
Cache-Control: no-store
<!-- index.html -->
<script src="/assets/react.min.js"></script>
<img src="/assets/hero.png" width="900" height="400" />
React hero.png max-age
URL
<!-- index.html -->
<script src="/assets/react.0.0.0min.js"></script>
<img src="/assets/hero.png?hash=deadbeef" width="900" height="400" />
max-age immutable
# /assets/*
Cache-Control: max-age=31536000, immutable
URL
no-cache HTML no-cache HTML
# /index.html
Cache-Control: no-cache
: index.html Basic Digest /assets /assets/ publics-maxage must-revalidate 1
Cache-Control Cache-Control
no-cache 304 Not Modified
Cache-Control: no-cache
HTTP/1.0 no-cache max-age=0 max-age=0 must-revalidate no-cache
Cache-Control: max-age=0, must-revalidate
no-cache
| HTTP Caching # field.cache-control |
| HTTP Immutable Responses # the-immutable-cache-control-extension |
Reason: CORS disabledReason: CORS header 'Access-Control-Allow-Origin' does not match 'xyz'Reason: CORS header 'Access-Control-Allow-Origin' missingReason: CORS header 'Origin' cannot be addedReason: CORS preflight channel did not succeedReason: CORS request did not succeedReason: CORS request external redirect not allowedReason: CORS request not HTTPReason: Credential is not supported if the CORS header 'Access-Control-Allow-Origin' is '*'Reason: Did not find method in CORS header 'Access-Control-Allow-Methods'Reason: expected 'true' in CORS header 'Access-Control-Allow-Credentials'Reason: invalid token 'xyz' in CORS header 'Access-Control-Allow-Headers'Reason: invalid token 'xyz' in CORS header 'Access-Control-Allow-Methods'Reason: missing token xyz in CORS header Access-Control-Allow-Headers from CORS preflight channelReason: Multiple CORS header 'Access-Control-Allow-Origin' not allowedAcceptAccept-CHAccept-EncodingAccept-LanguageAccept-PatchAccept-PostAccept-RangesAccess-Control-Allow-CredentialsAccess-Control-Allow-HeadersAccess-Control-Allow-MethodsAccess-Control-Allow-OriginAccess-Control-Expose-HeadersAccess-Control-Max-AgeAccess-Control-Request-HeadersAccess-Control-Request-MethodActivate-Storage-AccessAgeAllowAlt-SvcAlt-UsedAttribution-Reporting-EligibleAttribution-Reporting-Register-SourceAttribution-Reporting-Register-TriggerAuthorizationAvailable-DictionaryCache-ControlClear-Site-DataConnectionContent-DigestContent-DispositionContent-DPRContent-EncodingContent-LanguageContent-LengthContent-LocationContent-RangeContent-Security-PolicyContent-Security-Policy-Report-OnlyContent-TypeCookieCritical-CHCross-Origin-Embedder-PolicyCross-Origin-Embedder-Policy-Report-OnlyCross-Origin-Opener-PolicyCross-Origin-Resource-PolicyDateDevice-MemoryDictionary-IDDNTDownlinkDPREarly-DataECTETagExpectExpect-CTExpiresForwardedFromHostIdempotency-KeyIf-MatchIf-Modified-SinceIf-None-MatchIf-RangeIf-Unmodified-SinceIntegrity-PolicyIntegrity-Policy-Report-OnlyKeep-AliveLast-ModifiedLinkLocationMax-ForwardsNELNo-Vary-SearchObserve-Browsing-TopicsOriginOrigin-Agent-ClusterPermissions-PolicyPermissions-Policy-Report-OnlyPragmaPreferPreference-AppliedPriorityProxy-AuthenticateProxy-AuthorizationRangeRefererReferrer-PolicyRefreshReport-ToReporting-EndpointsRepr-DigestRetry-AfterRTTSave-DataSec-Browsing-TopicsSec-CH-Device-MemorySec-CH-DPRSec-CH-Prefers-Color-SchemeSec-CH-Prefers-Reduced-MotionSec-CH-Prefers-Reduced-TransparencySec-CH-UASec-CH-UA-ArchSec-CH-UA-BitnessSec-CH-UA-Form-FactorsSec-CH-UA-Full-VersionSec-CH-UA-Full-Version-ListSec-CH-UA-MobileSec-CH-UA-ModelSec-CH-UA-PlatformSec-CH-UA-Platform-VersionSec-CH-UA-WoW64Sec-CH-Viewport-HeightSec-CH-Viewport-WidthSec-CH-WidthSec-Fetch-DestSec-Fetch-ModeSec-Fetch-SiteSec-Fetch-Storage-AccessSec-Fetch-UserSec-GPCSec-Private-State-TokenSec-Private-State-Token-Crypto-VersionSec-Private-State-Token-LifetimeSec-PurposeSec-Redemption-RecordSec-Speculation-TagsSec-WebSocket-AcceptSec-WebSocket-ExtensionsSec-WebSocket-KeySec-WebSocket-ProtocolSec-WebSocket-VersionServerServer-TimingService-WorkerService-Worker-AllowedService-Worker-Navigation-PreloadSet-CookieSet-LoginSourceMapSpeculation-RulesStrict-Transport-SecuritySupports-Loading-ModeTETiming-Allow-OriginTkTrailerTransfer-EncodingUpgradeUpgrade-Insecure-RequestsUse-As-DictionaryUser-AgentVaryViaViewport-WidthWant-Content-DigestWant-Repr-DigestWarningWidthWWW-AuthenticateX-Content-Type-OptionsX-DNS-Prefetch-ControlX-Forwarded-ForX-Forwarded-HostX-Forwarded-ProtoX-Frame-OptionsX-Permitted-Cross-Domain-PoliciesX-Powered-ByX-Robots-TagX-XSS-Protection100 Continue101 Switching Protocols102 Processing103 Early Hints200 OK201 Created202 Accepted203 Non-Authoritative Information204 No Content205 Reset Content206 Partial Content207 Multi-Status208 Already Reported226 IM Used300 Multiple Choices301 Moved Permanently302 Found303 See Other304 Not Modified307 Temporary Redirect308 Permanent Redirect400 Bad Request401 Unauthorized402 Payment Required403 Forbidden404 Not Found405 Method Not Allowed406 Not Acceptable407 Proxy Authentication Required408 Request Timeout409 Conflict410 Gone411 Length Required412 Precondition Failed413 Content Too Large414 URI Too Long415 Unsupported Media Type416 Range Not Satisfiable417 Expectation Failed418 I'm a teapot421 Misdirected Request422 Unprocessable Content423 Locked424 Failed Dependency425 Too Early426 Upgrade Required428 Precondition Required429 Too Many Requests431 Request Header Fields Too Large451 Unavailable For Legal Reasons500 Internal Server Error501 Not Implemented502 Bad Gateway503 Service Unavailable504 Gateway Timeout505 HTTP Version Not Supported506 Variant Also Negotiates507 Insufficient Storage508 Loop Detected510 Not Extended511 Network Authentication RequiredCSP: base-uriCSP: block-all-mixed-contentCSP: child-srcconnect-srcCSP: default-srcCSP: fenced-frame-srcCSP: font-srcCSP: form-actionframe-ancestorsframe-srcCSP: img-srcCSP: manifest-srcCSP: media-srcCSP: object-srcCSP: prefetch-srcCSP: report-toCSP: report-uriCSP: require-trusted-types-forCSP: sandboxscript-srcCSP: script-src-attrCSP: script-src-elemstyle-srcCSP: style-src-attrCSP: style-src-elemCSP: trusted-typesCSP: upgrade-insecure-requestsCSP: worker-srcPermissions-Policy: accelerometerPermissions-Policy: ambient-light-sensoraria-notifyPermissions-Policy: attribution-reportingPermissions-Policy: autoplayPermissions-Policy: bluetoothPermissions-Policy: browsing-topicsPermissions-Policy: cameracaptured-surface-controlch-ua-high-entropy-valuesPermissions-Policy: compute-pressurePermissions-Policy: cross-origin-isolatedPermissions-Policy: deferred-fetchPermissions-Policy: deferred-fetch-minimalPermissions-Policy: display-capturePermissions-Policy: encrypted-mediaPermissions-Policy: fullscreenPermissions-Policy: gamepadPermissions-Policy: geolocationPermissions-Policy: gyroscopePermissions-Policy: hidPermissions-Policy: identity-credentials-getPermissions-Policy: idle-detectionlanguage-detectorlanguage-modelPermissions-Policy: local-fontslocal-networklocal-network-accessloopback-networkPermissions-Policy: magnetometerPermissions-Policy: microphonePermissions-Policy: midion-device-speech-recognitionPermissions-Policy: otp-credentialsPermissions-Policy: paymentPermissions-Policy: picture-in-pictureprivate-state-token-issuanceprivate-state-token-redemptionPermissions-Policy: publickey-credentials-createPermissions-Policy: publickey-credentials-getPermissions-Policy: screen-wake-lockPermissions-Policy: serialPermissions-Policy: speaker-selectionPermissions-Policy: storage-accesssummarizertranslatorPermissions-Policy: usbPermissions-Policy: web-sharePermissions-Policy: window-managementPermissions-Policy: xr-spatial-tracking| Web Proxy Viewer | New URL | Original Page |