The Ultimate Site of Worms Armageddon

All About TUS => Bug Report => Topic started by: Labtec Speakers on February 01, 2022, 04:27 AM

Title: [SOLVED] Can't update uploaded files?
Post by: Labtec Speakers on February 01, 2022, 04:27 AM
I would like to replace a soundbank with an updated/improved version, but no matter what I do it still downloads the original zip file instead when I click on the download link. I've tried unchecking the old zip file and uploading the updated one, but still it downloads the old one.
Title: Re: Can't update uploaded files?
Post by: MonkeyIsland on February 01, 2022, 06:57 AM
Your files are updated. It is probably your browser that is using cache. Anyway I made a change to tell the browser do not use cache.

However, you need to reset your current browser cache OR add some parameters at the end of the file to force your browser ignore the cache. For example:

https://www.tus-wa.com/files/download/file-2461-1/

to:

https://www.tus-wa.com/files/download/file-2461-1/?time=12345678


The above solution is only for the files that you have already downloaded. For the other files you don't need to do anything.