承接 codemonkey1988/script-style-push 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

codemonkey1988/script-style-push

Composer 安装命令:

composer require codemonkey1988/script-style-push

包简介

TYPO3 Extension to push javascript and css files over a http/2 connection.

README 文档

README

TYPO3 Extension to push JavaScript and CSS files over a HTTP/2 connection. The CSS and JavaScript files are automatically parsed from rendered html.

This extension does not push images automatically, because of huge traffic overload when using responsive images. Each image in the picture source would be pushed to the client.

Installation

composer require codemonkey1988/script-style-push

Configuration

To support your used CSS and JavaScript files, you just need to install this extension. The extension will automatically push every CSS and JavaScript file found in the html response.

You can add custom resources to push. Just add a comma separated list of asset paths to the site configuration. Just add a comma separated list of assets. Keep in mind, that this might change in the future as TYPO3 supports additional custom field types for site configuration.

Prevent asset over-pushing

This extension help you preventing over-pushing of assets by setting a session cookie that contains all assets that were pushing during the user session. This extension will not push an asset, if it's in the cookie. This feature can be disabled in extension settings.

Disabling this extension

If you need to disable generating the Link header, you can do this by setting the env variable SCRIPT_STYLE_PUSH_DISABLED to 1.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2018-02-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固