Provide generating html snapshot (Express and Koa, support as middleware)