Giter VIP home page Giter VIP logo

Comments (2)

LeoColomb avatar LeoColomb commented on August 18, 2024

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.

summercms avatar summercms commented on August 18, 2024

@LeoColomb

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:

image


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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.