Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 9, 2026

The fetchHotfix() function was using cache: 'no-store', which bypassed browser HTTP caching. This caused broken-features.csv and CSS hotfixes to be re-downloaded on every page load, despite webext-storage-cache managing storage-level caching.

Changes

  • Removed cache: 'no-store' from fetch options in fetchHotfix()
  • Browser now respects HTTP cache headers while webext-storage-cache handles staleness/revalidation

Test URLs

https://github.com/refined-github/refined-github (any page - check Network tab, hotfix files should be cached)

Screenshot

N/A - network-level caching behavior change

Original prompt

This section details on the original issue you should resolve

<issue_title>Hotfixes are not cached</issue_title>
<issue_description>### Description

This problem probably occurred after updating the refined-github plugin.
Now every time I open github, IDM will automatically download the broken-features.csv file repeatedly.
I wonder if I can modify the corresponding settings to solve this problem?

How to replicate the issue + URL

Refined GitHub 24.12.9
https://github.com/refined-github/refined-github

Extension version

24.12.9

Browser(s) used

Google Chrome

Token ⚠️

  • I set a token in the options page. I understand that some features require a token to work.</issue_description>

Comments on the Issue (you are @copilot in this section)

@fregante I can't repro this, actually the hotfixes aren't being fetched at all until I click the button on the options page 🤦‍♂️

but I am seeing the CSS file being download on every page load…</comment_new>


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix caching issue for hotfixes in refined-github Fix hotfixes being downloaded on every page load Jan 9, 2026
Copilot AI requested a review from fregante January 9, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Hotfixes are not cached

2 participants