HTTP Headers Analyzer
8 / 10
https://ameblo.jp/mishapowain/entry-12868933452.html
Website → Browser6 missing headers, 0 warnings, 1 notices
Header
Value
Explanation
cache-control
max-age=5
max-age
specifies the maximum amount of seconds a page is considered valid. The higher max-age
, the longer a page can be cached.Notice A
max-age
of 5 seconds is short, especially if your content doesn't change frequently. Consider increasing max-age
unless the URL has live updates.etag
w/"585e-4cascvlpec6u3j5nsdjgi+oqltq"
A unique identifier that changes every time a page at a given URL changes. It acts as a fingerprint. A cache can compare
Etag
values to see if the page has changed and became stale. For example, a browsers will send the ETag
value of a cached page in an If-None-Match
header. The web server compares the ETag
value sent by the browser with the ETag
value of the current version of the page. If both values are the same, the web server sends back a 304 Not Modified
status and no body. This particular Etag
value starts with w/
which means that it is a weak identifier; while unlikely, multiple pages might have the same identifier. Weak identifiers are used because strong identifiers can be difficult and costly to generate.server-timing
data; dur=55, rendering; dur=1, total; dur=57.274794; desc="total response time"
Communicates one or more metrics for a given request-response cycle. Can includes metrics for CPU time, database read/writes, file system access, etc.
server-timing
miss-cluster, fastly;desc="edge time";dur=469
Communicates one or more metrics for a given request-response cycle. Can includes metrics for CPU time, database read/writes, file system access, etc.
x-envoy-upstream-service-time
274
x-envoy-decorator-operation
public-web.blog.svc.cluster.local:8080/*
accept-ranges
bytes
Used by the server to advertise its support of partial HTTP requests. The browser can ask for a range or subset of the response body. It's a feature that allows a browser to resume an interrupted download.
bytes
is the only range unit currently supported. none
means that the server does not support range requests.age
0
The time in seconds that the page has been in the shared proxy cache. The maximum age is set by
max-age
or s-maxage
in the Cache-Control
header.date
sun, 22 dec 2024 06:06:26 gmt
The date and time at which the request was made. A browser uses it for age calculations rather than using its own internal date and time; e.g. when comparing against
Max-Age
or Expires
.x-timer
s1734847586.064222,vs0,ve469
Provides timing information about the journey of a request through Fastly's network. Format:
s<timestamp>,vs<seconds>,ve<seconds>
, where s
is the start time of the request, ve
stands for Varnish start and ve
stands for Varnish end. The length of the trip is ve - vs
milliseconds.vary
accept-encoding
The
Vary
header specifies a list of headers that must be considered when caching responses. For a cached response to be used, these headers must match between the cached response and the new request. This ensures that the appropriate version of a resource is served based on factors like language, encoding, or device type.timing-allow-origin
*
The
Any origin is allowed to access the timing information for this resource.
Timing-Allow-Origin
header is part of the Resource Timing API. It controls which origins can access detailed timing information about the resource. This can be used to measure performance while still maintaining some level of privacy.Any origin is allowed to access the timing information for this resource.
x-content-type-options
nosniff
The
The value
X-Content-Type-Options
header, when set to nosniff
, prevents MIME type sniffing. This enhances security by ensuring browsers respect the declared Content-Type of the response, mitigating MIME confusion attacks.The value
nosniff
is correctly set, providing protection against MIME type sniffing attacks.content-security-policy
upgrade-insecure-requests
The Content Security Policy (CSP) header helps prevent cross-site scripting (XSS), clickjacking, and other code injection attacks by specifying which dynamic resources are allowed to load.
upgrade-insecure-requests
instructs browsers to replace insecure URLs (HTTP) with secure URLs (HTTPS).x-user-agent
desktop
x-loading
?0
origin-trial
agkze0sdpqccfag9xo/nbrojvd9bqlu0uzccqbv46yvumhh4r8rdcawlkp8bgmpixpqlpe/b2f9w+bjkwtj9zg8aaab1eyjvcmlnaw4ioijodhrwczovl2ftzwjsby5qcdo0ndmilcjmzwf0dxjlijoiu2vuzez1bgxvc2vyqwdlbnrbznrlcljlzhvjdglvbiisimv4cglyesi6mty4ndg4njm5oswiaxntdwjkb21haw4ionrydwv9
accept-ch
sec-ch-ua-full
The
Accept-CH
header specifies HTTP Client Hints that the server requests from the client (typically a browser) to optimize content delivery.
permissions-policy
ch-ua-full=*
Instructs a browser to selectively allow or deny certain browser APIs and features. It helps improve security.
content-length
22622
The size of the message body, in bytes.
strict-transport-security
missing Add a
Strict-Transport-Security
header. The Strict-Transport-Security
header or HSTS header is used to instruct browsers to only use HTTPS, instead of using HTTP. It helps enforce secure communication.referrer-policy
missing Add a
Referrer-Policy
header. When a visitor navigates from one page to another, browsers often pass along referrer information. The Referrer-Policy
header controls how much referrer information a browser can share. This is important to configure when private information is embedded in the path or query string and passed onto an external destination.cross-origin-embedder-policy
missing Add a
Cross-Origin-Embedder-Policy
to specify how this page can be loaded by cross-origin resources.cross-origin-opener-policy
missing Add a
Cross-Origin-Opener-Policy
header to opt-in into better browser isolation.cross-origin-resource-policy
missing Add a
Cross-Origin-Resource-Policy
header to specify who can load this page.x-permitted-cross-domain-policies
missing Add a
X-Permitted-Cross-Domain-Policies
header to prevent Flash, Adobe Reader and other clients from sharing data across domains.Questions or feedback? Email dries@buytaert.net.