Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
参见议题 #4648:
由于浏览器缓存机制,WASM 文件缓存失效很快。
(个人猜测可能是因为文件过大,具体原因没来得及调查验证。)
使用 IndexedDB 持久缓存相关文件
,数据库版本使用 Bilibili-Evolved 的版本号。此次本插件更新后,正常情况下,以下情景会下载相关文件并创建/更新缓存:
Bilibili-Evolved 更新后再次使用本插件抱歉刚刚 PR 错分支了,我记得能改的啊,但是点了 Edit 之后,目标分支没有下拉选择了(图)?
关于我多次提到的 “基于 WebCodecs 的插件”(#4648、#4615),因为我近期确实没有太多空闲时间来仔细研究 WebCodecs,所以可能短期内写不出来了,于是就凑了点时间先把 WASM 插件的缓存做了。