🐑 Commons Host

Documentation

@commonshost/manifest

@commonshost/manifest

HTTP/2 Server Push Manifest is a declarative configuration syntax for web servers, CDNs, and tools that offers web developers access to this powerful new protocol feature.

Use the API or CLI tool to generate the manifest from standard HTML, JS, and CSS source code. Supports transpiling to a variety of servers and CDNs.

[
  {
    get: '/index.html',
    push: '**/*.{js,css}'
  }
]

Documentation

https://help.commons.host/manifest/

Supported Platforms

A manifest is an intermediary format which can be transpiled to the configuration syntax of CDN services or web servers.

CDN services: Commons Host, Cloudflare, Fastly, Netlify

Web servers: Apache, H2O, NGINX

Languages: Node.js/NPM

Note: Web browsers widely support HTTP/2 Server Push. The manifest is only needed on the server side.

Table of Contents