coldtrick/pwa 问题修复 & 功能扩展

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

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

coldtrick/pwa

最新稳定版本:v5.0.3

Composer 安装命令:

composer require coldtrick/pwa

包简介

Progressive Web App implementation

README 文档

README

Elgg 6.0 Lint Checks Latest Stable Version License

Provides Progressive Web App features

Features

  • Icon upload
  • Background color selection
  • Color scheme selection
  • Browser UI selection

Service Worker Caching

To reduce the requests to your site, you can enable Service Worker caching in the plugin settings. Be aware that if you enable service worker caching, you will need to make the following adjustment in your .htaccess file:

<IfModule mod_headers.c>
	Header set Service-Worker-Allowed "/" "expr=%{THE_REQUEST} =~ m#upup.sw.js#"
</IfModule>

De-installing the plugin

Be aware that when you remove the PWA plugin the service workers that have been installed will not remove themselves. You might need something like https://github.com/NekR/self-destroying-sw.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-only
  • 更新时间: 2021-02-03