5 Matching Annotations
- Jul 2023
-
developer.mozilla.org developer.mozilla.org
-
- Note: Client hints can also be specified in HTML using the <meta> element with the
http-equiv
attribute.
html <meta http-equiv="Accept-CH" content="Width, Downlink, Sec-CH-UA" />
- Example:
http HTTP/1.1 200 OK Content-Type: text/html Accept-CH: Sec-CH-Prefers-Reduced-Motion Vary: Sec-CH-Prefers-Reduced-Motion Critical-CH: Sec-CH-Prefers-Reduced-Motion
- Note: Client hints can also be specified in HTML using the <meta> element with the
Tags
- http:header=accept-ch
- http:header=critical-ch
- mobile
- http:header=sec-ch-prefers-reduced-motion
- http:header=vary
- cito:cites=urn:ietf:rfc:8942
- <meta http-equiv="accept-ch"/>
- conneg
- http
- cito:cites=urn:ietf:id:draft-davidben-http-client-hint-reliability
- wikipedia:en=HTTP_Client_Hints
Annotators
URL
-
- Mar 2023
-
gist.github.com gist.github.com
-
You'll notice that for the app/routes/jokes/$jokeId.tsx route in addition to Cache-Control we've also set Vary header to Cookie. This is because we're returning something that's specific to the user who is logged in. So we want the cache to associated to that particular Cookie value and not shared with different users, so the browser and CDN will not deliver the cached value if the cookie is different from the cached response's cookie.
-
- Jan 2023
-
www.smashingmagazine.com www.smashingmagazine.com