Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Problems with 301 redirects on /bin #880
Comments
Michagogo
commented
Jun 7, 2015
|
To clarify, you are able to simply clear the cache wholesale. There's also On Sunday, June 7, 2015, David A. Harding notifications@github.com wrote:
|
|
Ah I see. I've just set the default 404 error page for the /bin/* subdirectory (while keeping a redirect to / for the rest of the website). Is that better? |
|
Confirmed that 404 on /bin is working. @Michagogo, what do you think? |
|
I think this is fixed satisfactorily---thanks, @saivann. Closing. |
harding commentedJun 7, 2015
When loading a file or directory beneath '/bin' that doesn't exist, a 301 permanent redirect to '/bin'. The problem is that the permanent redirect is cached by the browser permanently, preventing you from accessing a file or directly that later appears at that location.
For example, if you tried to load
/bin/bitcoin-core-0.11/test/before it was uploaded, your browser will always send you to/binwhen you try to load the current RCs. I believe @Michagogo encountered this problem and discovered that Chrome doesn't even let power users reset its redirect cache.I myself have encountered this problem while developing for the site, although Firefox has a setting in about:config to disable the cache, so it wasn't as bad for me.
@saivann is it possible (and a good idea) to use a less permanent redirect status code?