Operations grimoire/Web/Headers: Difference between revisions
From Nasqueron Agora
< Operations grimoire | Web
| No edit summary | No edit summary | ||
| Line 1: | Line 1: | ||
| This page documents HTTP headers used in Nasqueron sites. | This page documents HTTP headers used in Nasqueron sites. | ||
| == Unstandardized headers == | |||
| Per [https://datatracker.ietf.org/doc/html/rfc6648 RFC 6648], those headers SHOULD NOTE use the X- prefix. | Per [https://datatracker.ietf.org/doc/html/rfc6648 RFC 6648], those headers SHOULD NOTE use the X- prefix. | ||
| Line 8: | Line 10: | ||
| ! Header !! Description !! Values!! Example header !! Used in | ! Header !! Description !! Values!! Example header !! Used in | ||
| |- | |- | ||
| | Assets-Font-Format ||  | | Assets-Font-Format || Font extension served in the CSS || {{code|with-<font extension>}} || <code>Assets-Font-Format: with-woff2</code> || assets.nasqueron.org (nginx) | ||
| |- | |- | ||
| | X-Config-Type || Resource CORS configuration || {{code|cors-<configuration>}} || {{code|X-Config-Type: cors-open-no-cache}} || includes/cors-open-no-cache (nginx) | |||
| |} | |||
| == Standardized headers == | |||
| * [https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching Caching] on MDN | |||
| * [https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS CORS] on MDN | |||
Latest revision as of 10:04, 27 May 2023
This page documents HTTP headers used in Nasqueron sites.
Unstandardized headers
Per RFC 6648, those headers SHOULD NOTE use the X- prefix.
| Header | Description | Values | Example header | Used in | 
|---|---|---|---|---|
| Assets-Font-Format | Font extension served in the CSS | with-<font extension>
 | Assets-Font-Format: with-woff2 | assets.nasqueron.org (nginx) | 
| X-Config-Type | Resource CORS configuration | cors-<configuration>
 | X-Config-Type: cors-open-no-cache
 | includes/cors-open-no-cache (nginx) | 

