# yii2-http2-server-push
HTTP/2 server push support for Yii2 web application.

## How to use

Just add it as your project dependency - everything else is done automatically.

```
php composer.phar require devgroup/yii2-http2-server-push
```

## More information

- [HTTP/2 Server push spec](https://www.w3.org/TR/preload/#server-push-http-2) - W3C preload draft.
- [How to enable HTTP/2 in apache](https://icing.github.io/mod_h2/howto.html)
- [HTTP2 server push for symphony](https://www.symfony.fi/entry/http-2-server-push-with-the-symfony-httpkernel)
- Nginx currently does not support server push.


Made by [DevGroup.ru](https://devgroup.ru/).