diff options
| author | Daniel Micay <daniel.micay@grapheneos.org> | 2024-04-01 15:19:25 -0400 |
|---|---|---|
| committer | Daniel Micay <daniel.micay@grapheneos.org> | 2024-04-01 15:19:25 -0400 |
| commit | 43a33855b06cf66c2de036704b1fb2ee06becece (patch) | |
| tree | 62ca03f2dd9d87df390cbe02a712d002066279bb /static | |
| parent | 91d765692bf6a452dfaa1f83293cac04c40a9a73 (diff) | |
server push is dead
Diffstat (limited to 'static')
| -rw-r--r-- | static/build.html | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/static/build.html b/static/build.html index 13dd8415..5a612101 100644 --- a/static/build.html +++ b/static/build.html @@ -1399,15 +1399,13 @@ rm android-cts-media-1.5.zip</pre> } }</pre> - <p>Cookies are only used for login sessions. The only other use case considered valid - would be optimizing HTTP/2 Server Push but the intention is only to use that for - render blocking CSS and it's not really worth optimizing for caching when the CSS is - tiny in practice. Every cookie must have the <code>__Host</code> prefix to guarantee - that it has the <code>Secure</code> attribute and <code>Path=/</code>. The - <code>HttpOnly</code> and <code>SameSite=Strict</code> flags should also always be - included. These kinds of cookies can provide secure login sessions in browsers with - fully working <code>SameSite=Strict</code> support. However, CSRF tokens should still - be used for the near future in case there are browser issues.</p> + <p>Cookies are only used for login sessions. Every cookie must have the + <code>__Host</code> prefix to guarantee that it has the <code>Secure</code> + attribute and <code>Path=/</code>. The <code>HttpOnly</code> and + <code>SameSite=Strict</code> flags should also always be included. These kinds + of cookies can provide secure login sessions in browsers with fully working + <code>SameSite=Strict</code> support. However, CSRF tokens should still be used + for the near future in case there are browser issues.</p> <p>For web content, use dashes as user-facing word separators rather than underscores. Page titles should follow the scheme "Page | Directory | Higher-level directory | |
