From 563230e25e4d4e3356e29bf9f7366786dfcca5a5 Mon Sep 17 00:00:00 2001 From: Jacob Bennett Date: Sat, 30 Jul 2016 00:10:00 -0400 Subject: [PATCH] docs: update readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 622b4c8..3969870 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,9 @@ protected $middleware = [ ## Usage +When you route a request through the `AddHttp2ServerPush` middleware, the response is scanned for any `link` or `script` tags that could benefit from being loaded using Server Push. +These assets will be added to the `Link` header before sending the response to the client. Easy! + ## Change log Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.