baiy's recent timeline updates
baiy

baiy

V2EX member #262475, joined on 2017-10-25 20:46:24 +08:00
Per baiy's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
baiy's recent replies
Jan 7
Replied to a topic by Aspector 全球工单系统 Logi Options+ 证书过期了
@alfredhot #6 我怎么不早点看到这个啊 我和你完全一样的情况了 哭晕......
Oct 17, 2025
Replied to a topic by z1s23 全球工单系统 知乎刚刚是不是崩了?
居然可以挂这么长时间 有点想知道原因了
Sep 15, 2023
Replied to a topic by owlzhang95 生活 兄弟们能接受女方有房贷的吗
要对自己的爱情有信心
换位思考 你想想 你要是婚前有房贷 你女朋友会在意吗
Aug 3, 2023
Replied to a topic by sirz 推广 GPT 联网初体验
[email protected]
感谢大佬
我是把域名迁移到 https://www.gandi.net/ 自带邮箱服务 免费两个账号 无线别名
Mar 13, 2023
Replied to a topic by Mason2021 程序员 分享: Zed 编辑器邀请链接
更正一下 15 楼的回复
第 2 点其实不是为了处理业务版本更新, 第 1 点就可以做到, 第 2 点主要是为了处理卡顿的问题, 在 Service workers 中缓存所有前端源码(vite-plugin-pwa 默认实现), 这样业务访问基本都是调用缓存资源了, 在卡顿就是代码的锅了
1. 客户端打包
https://github.com/nativefier/nativefier 基于 electron 的打包功能
使用上面这个项目打包一下 不需要使用网页源码 使用网页地址即可


2. 业务版本更新
https://developer.mozilla.org/zh-CN/docs/Web/Progressive_web_apps
使用 PWA(渐进式 Web 应用)

以上都是前端技术

ps:
如果使用 vite 构建的话, 直接使用 https://www.npmjs.com/package/vite-plugin-pwa 插件 , 这样的话需要添加的代码不会超过 100 行, 时间要是熟悉 PWA 估计也就半个小时搞定
Oct 27, 2022
Replied to a topic by zhzy0077 程序员 GitHub 在看代码的时候卡死了
可以复现 你这个网址进去就卡死了 版本 106.0.5249.119 (正式版本) (x86_64)
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3128 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 14:11 · PVG 22:11 · LAX 07:11 · JFK 10:11
♥ Do have faith in what you're doing.