mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-06 07:22:17 +00:00
Can not go back to preview page due to cache overwriting #341
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @programmerjake on GitHub.
If I go to a file-preview page (like https://transfer.sh/GkNVP/output.png), then click on the "home" link, if I then try to use the back button in the web browser, it tries to download instead of preview the file.
If I disable the browser cache, the problem goes away.
I'm using Google Chrome 60.0.3112.113 on X11 Linux x86_64.
From what I can tell, the preview page links to itself to display the image, causing the browser to replace the cached copy of the web page with the image because they both have the same URL, then, when I go back to that page, the browser loads the image from the cache instead of the web page.
@paolafrancesca commented on GitHub:
cannot reproduce