greasyfork-org / greasyfork

An online repository of user scripts.
https://greasyfork.org
GNU General Public License v3.0
1.41k stars 423 forks source link

[GreasyFork Server] Please check the script source code file issue #1205

Closed cyfung1031 closed 7 months ago

cyfung1031 commented 7 months ago

I can confirm this is due to Greasyfork.org's network response, rather than userscript manager.

  1. Using Chrome + Violentmoneky, install a script (e.g. https://greasyfork.org/scripts/479557-youtube-ads-skip/code/YouTube%20Ads%20Skip.user.js)
  2. Update the script in Greasyfork.org
  3. In Greasyfork.org, confirmed the script is updated to a new version (e.g. 0.2.8)
  4. Failed to get the latest version. The response of the network request is 0.2.6, (status 200, without cache).
  5. I opened Safari with Private mode (without userscript manager).
  6. In Safari, browse the same source code url, I can get the 0.2.8 version. (in-browser text/plain file view)
  7. Then after a while, I refresh the source code file tab in Safari Private Mode, it becomes 0.2.3
  8. After few minutes, refresh the Safari tab, it becomes 0.2.8
  9. After a while, refresh the Safari tab, it becomes 0.2.6
  10. After a while, refresh the Safari tab, it becomes 0.2.8

When the url is changed to like https://greasyfork.org/scripts/479557-hello/code/YouTube%20Ads%20Skip.user.js, it can always get the latest version.

@JasonBarnabe please check the server setting. I cannot think of any reason that the text/plain file can jump across history records. (0.2.8 -> 0.2.3 -> 0.2.8 -> 0.2.6). This is not a cache issue of the browser. My Safari did not open for a week. There is no cache for Safari for the old versions like 0.2.3 and 0.2.6

cyfung1031 commented 7 months ago

cc @tophf

JasonBarnabe commented 7 months ago

This is the same as #1124.