AllPoland / ArcViewer

Open source, overengineered 3D Beat Saber map previewer and replay viewer
https://allpoland.github.io/ArcViewer/
GNU General Public License v3.0
60 stars 15 forks source link

Old replay used even if score was improved #46

Closed Solaris9 closed 1 year ago

Solaris9 commented 1 year ago

Describe the bug:

Old replays seem to be used even if you've improved the score.

How to Reproduce:

Steps to reproduce the behaviour:

Expected behavior:

Build Info:

Safari 16.6 MacOS Ventura 13.5.1 on M1 MacBook ArcViewer Web 0.5.5

Additional context:

Chrome seems to use the newest replay so perhaps a caching issue as I previously watched my old replay before improving the score?

Solaris9 commented 1 year ago

I restarted my browser and it seems to use the latest replay now, so I suppose it's definitely caching the replay? I'm not sure if I had ArcViewer open when I submitted the new score as it was 6 hours ago, or if it cached the old replay when I first watched it and when it requested the score from the BL API it used the existing cached replay since the BSOR url doesn't change so it wouldn't fetch the new replay.

AllPoland commented 1 year ago

Works fine for me, so almost certainly a cache issue. ArcViewer doesn't control the cache, that's all handled on the browser end, so there's not much I could do even if I wanted to.