tree: e235b04a6c6cb51079a321175e59e8f92d7e4b23 [path history] [tgz]
  1. CMakeLists.txt
  2. Makefile.inc
  3. README.md
  4. server_push_preload.cc
plugins/server_push_preload/README.md

Parse origin response Link headers and use H2 Server Push to initiate push requests of assets that have the preload keyword.

https://www.w3.org/TR/preload/

This plugin can be used as a global plugin or a remap plugin.

To use it as a global plugin for all your remaps, add this line to your plugins.config file:

server_push_preload.so

To use it as a remap plugin add it to one of your remaps in the remap.config file:

map https://foo.cow.com/ https://bar.cow.com @plugin=server_push_preload.so