shenruisi / Stay

Stay is a local userscript manager and an extension sample for Safari on iOS/iPadOS.
https://github.com/shenruisi/Stay/wiki
Mozilla Public License 2.0
1.08k stars 65 forks source link

The external file get cached and unable to update #77

Open cyfung1031 opened 1 year ago

cyfung1031 commented 1 year ago

My script is running on isolated content and have to inject some scripts in page content.

...

// @version               4.17.3
// @resource              contentCSS    https://raw.githubusercontent.com/cyfung1031/Tabview-Youtube/ac5ec295a2e576426f928f8806d468488573e500/css/style_content.css
// @resource              injectionJS1  https://raw.githubusercontent.com/cyfung1031/Tabview-Youtube/ac5ec295a2e576426f928f8806d468488573e500/js/injection_script_1.js

...

When my script updates, the @resource links will be updated as well (just change the commit id)

But the resources are cached. Even my script is updated, the resource files are still the same. I cannot find any button in Stay to clear the cache.

I tried restart Safari but no vain.