opegento/module-early-hints-103 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

opegento/module-early-hints-103

最新稳定版本:0.0.1

Composer 安装命令:

composer require opegento/module-early-hints-103

包简介

Early Hints Headers for preloading static files while Magento is calculating his render.

README 文档

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

  • Opengento Community - Lead
    • Twitter Follow

License

This project is licensed under the MIT License - see the LICENSE details.

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 21
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-09