🐑 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.

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

Documentation

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