opegento / module-early-hints-103
Early Hints Headers for preloading static files while Magento is calculating his render.
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 21
Forks: 1
Open Issues: 0
Type:magento2-module
pkg:composer/opegento/module-early-hints-103
This package is not auto-updated.
Last update: 2026-01-11 22:53:13 UTC
README
POC for adding preloading content headers / Early hints approach
Setup / prerequirement
Magento 2 Open Source or Commerce edition is required. Nginx / Varnish (apache not tested yet)
Composer installation
Run the following composer command:
composer require opengento/module-early-hints-103
Setup the module
Run the following magento command:
bin/magento setup:upgrade
Varnish VCL file
sub vcl_backend_response {
if (beresp.http.Surrogate-Control ~ "OpengentoBroadcast/1.0") {
set beresp.do_stream = true;
set beresp.ttl = 0s;
}
Support
Raise a new request to the issue tracker.
Authors
License
This project is licensed under the MIT License - see the LICENSE details.