silverstripe-http2
Please note: The functionality this module provides is now available in a different module that also provides additional functionality: https://github.com/DorsetDigital/silverstripe-enhanced-requirements, (*1)
This module will remain, but will not be actively developed beyond critical bugfixes. Please use the enhanced requirements module from now on, (*2)
Adds basic HTTP2 functionality like requirements push, (*3)
This module adds the necessary HTTP headers to SilverStripe to enable HTTP/2 push functionality on servers which support it.
By default, the module will send the header containing all the CSS and JS files which have been added to a site using the Requirements
API., (*4)
Requirements
*Silverstripe 4.x, (*5)
Installation
Install with composer require dorsetdigital/silverstripe-http2
, (*6)
Usage
Add a config YML file to enable:, (*7)
---
Name: httptest
---
DorsetDigital\HTTP2\DDMiddleware:
enabled: true