Comments (2)
Thanks for this sharing @summercms.
That said, I'm not sure what can be done with H5BP configs regarding this (still to be published) standard. Are we sure this is compatible with current server software?
from server-configs-apache.
See slide 4 found here: https://datatracker.ietf.org/meeting/117/materials/slides-117-httpbis-compression-dictionaries-00
Here's what I understand:
Use-As-Dictionary: match="/path/to/target/*"
When the client Use-As-Dictionary
transitions to the path specified in , it adds to the request header that it supports CDT in Brotli ( sbr
) and has a dictionary that can be applied there, as shown below.
Accept-Encoding: sbr
Sec-Available-Dictionary: <SHA-256 of Dictionary>
The server can use the dictionary specified by the client to compress and return the content.
If compression is performed using a dictionary, the response will be as follows. Since the encoding result of the same content changes depending on the dictionary, add the hash of the dictionary to the key of Sec-Available-Dictionary
Cache Vary
.
Content-Encoding: sbr
Vary: Accept-Encoding, Sec-Available-Dictionary
Since it is a method that generates a dictionary in advance, it can be said to be a method that is compatible with static site generators.
Was thinking could update this code section, with notes at a later date:
Disclaimer: This spec is likely to change still, so expecting this to be put on hold for the next major semantic version of this repo.
from server-configs-apache.
Related Issues (20)
- Correctly resolve path of build script HOT 1
- Feature request: video/mov in .htaccess? HOT 4
- SSL auto renewal blocked by www redirect HOT 2
- Missing version in custom `.htaccess` builds HOT 8
- `DirectoryIndex` comment if pre-compressed content is enabled HOT 4
- Question: mpm_winnt_module HOT 3
- Remove `image/avif-sequence` MIME type HOT 6
- Variable evaluation in build script HOT 2
- Add build parameter to generate `.htaccess` without comments HOT 2
- `ServerTokens Prod` missing HOT 2
- Missing `<IfModule mod_authz_core.c>` block HOT 1
- Remove `<IfModule>` from `Options -Indexes` HOT 1
- Add `<IfModule http2_module>` for h2 protocol support HOT 9
- Add note about `RewriteOptions Inherit` HOT 3
- `Permissions-Policy` header for Google “Topics API” HOT 1
- Add `Document Policy` to security section HOT 2
- Error with `Permissions-Policy` header: Unrecognized feature: `'document-domain'` HOT 1
- Format `Content-Security-Policy` header directives HOT 4
- Add `ExpiresByType` for `audio/mp4` with `"access plus 1 year"` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server-configs-apache.