junobuild / juno

Build Web3 at Lightning Speed
https://juno.build
Other
151 stars 12 forks source link

"Replace File" doesn't work in storage #648

Closed bytesun closed 6 days ago

bytesun commented 6 days ago

In storage, upload a picture first, then replace with another picture, the version is changed from 1 to 2, but the picture is still shown as the first one by click the link "full path"

peterpeterparker commented 6 days ago

Mmmmh tested it again and it just worked as expected. I first used "Upload a file" and then "Replace a fil".

Maybe some cache on your client side? Or did you used other actions or in another order?

Capture d’écran 2024-06-28 à 06 25 30 Capture d’écran 2024-06-28 à 06 25 56 Capture d’écran 2024-06-28 à 06 25 59 Capture d’écran 2024-06-28 à 06 26 04 Capture d’écran 2024-06-28 à 06 26 31 Capture d’écran 2024-06-28 à 06 27 10
bytesun commented 6 days ago

weird, I did the same process, tried a few times, still can's see the replaced picture image you can see the version has been changed, but picture still the original

bytesun commented 6 days ago

you are right, it's cache, need to refresh the link page to get new picture

peterpeterparker commented 6 days ago

Great to hear it worked out! Thanks for double checking