https://github.com/xfalcox/discourse-http2-push
Enables server push for static assets in Discourse
https://github.com/xfalcox/discourse-http2-push
discourse-plugin http2-push
Last synced: 5 months ago
JSON representation
Enables server push for static assets in Discourse
- Host: GitHub
- URL: https://github.com/xfalcox/discourse-http2-push
- Owner: xfalcox
- Created: 2017-06-30T19:25:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-31T18:19:17.000Z (over 8 years ago)
- Last Synced: 2024-12-28T08:41:29.403Z (over 1 year ago)
- Topics: discourse-plugin, http2-push
- Language: Ruby
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discourse HTTP/2 Server Push
This a small plugin, that enables server push for static assets in Discourse.
## Using
This plugin will include the main assets on a `Link` header in the HTTP response. This will enable HTTP/2 Push if you are using a compatible reverse proxy, like:
- [Cloudflare](https://blog.cloudflare.com/announcing-support-for-http-2-server-push-2/)
- [Fastly](https://docs.fastly.com/guides/performance-tuning/http2-server-push)
- [Caddy](https://caddyserver.com/docs/push) (see [this bug](https://github.com/mholt/caddy/issues/1717))
- [Apache](https://httpd.apache.org/docs/2.4/howto/http2.html#push)
- [H20](https://h2o.examp1e.net/configure/http2_directives.html#server-push)