Skip to content

Commit

Permalink
#25 deduplicate header links (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuranto authored and JacobBennett committed Jan 23, 2019
1 parent 79b1a8d commit 2c861a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Middleware/AddHttp2ServerPush.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ protected function generateAndAttachLinkHeaders(Response $response, $limit = nul
return $this->buildLinkHeaderString($url);
})
->filter()
->unique()
->take($limit)
->implode(',');

Expand Down

0 comments on commit 2c861a2

Please sign in to comment.