Skip to content

[BUG] 关于匹配网址图标缓存 #726

Closed

Description

@FreeGAV

问题描述

浏览器重启后,首次打开脚本猫,会重新获取脚本匹配网址图标缓存,造成大量链接访问,某些链接会触发杀毒软件报毒提示。

相比老版本每次打开都重新获取图标缓存有所改善,但希望能有更好的图标缓存机制。

重现步骤

浏览器重启后,首次打开脚本猫

脚本猫版本

1.1.1

操作系统以及浏览器信息

Windows11 Chromium 134.0.6998.136

补充信息 (选填)

No response

Activity

  1. CodFrm commented on Sep 11, 2025

    @CodFrm
    Member

    😅这也太尴尬了,后续会处理这个问题

  2. cyfung1031 commented on Sep 13, 2025

    @cyfung1031
    Collaborator

    😅这也太尴尬了,后续会处理这个问题

    #729

    不使用無謂的Redux Store
    打開設定頁才做Cache

  3. CodFrm commented on Sep 14, 2025

    @CodFrm
    Member

    @cyfung1031 这个issue似乎并不是这个问题引起的,而是每次重启扩展,都会重新加载一次图标数据,可能得考虑把这个数据持久化存储了

  4. added
    P2🐌 非重要也不紧急的内容
    on Oct 14, 2025
  5. cyfung1031 commented on Oct 14, 2025

    @cyfung1031
    Collaborator

    @cyfung1031 这个issue似乎并不是这个问题引起的,而是每次重启扩展,都会重新加载一次图标数据,可能得考虑把这个数据持久化存储了

    在安装脚本页时,把资源和图标都加载好,放DAO吧

  6. CodFrm commented on Nov 3, 2025

    @CodFrm
    Member

    现在会储存下来了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2🐌 非重要也不紧急的内容bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions