-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: make the static linux binary link return non-301 status code #1046
Comments
I noticed that the last-modified header is incorrect and FF sent in the if-modified-since header with a date that matched the incorrect date-modified. It looks like the server thinks the file hasn't been modified for some reason, most likely due to some interaction with amazon S3 (I think that's what you're using?). If so, investigating how to fix the last-modified may fix the issue. |
I did some more investigation, here's the documentation from Amazon, if you do a search for 'last-modified' you'll see the relevant section. https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html This isn't technically for the http headers I think, but I would be surprised if they're not used directly for said headers. Here's the relevant description of last-modified.
I'm wondering if perhaps this is a caching issue on the server side? I'm not really familiar with S3 so I'm guessing here, but I wonder if their systems are just caching the information and being slow to update? Or if perhaps you're using something like cloudflare and it's caching? If so, purging that cache when you push an update may fix the issue. Something to consider. |
Here's my plan to fix this:
|
Now that we have https://ziglang.org/download/index.json See #1046
This exists now: https://ziglang.org/download/index.json |
The linux static build download link is getting cached in users' browsers.
Looks like it's possible using "Advanced Conditional Redirects" https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html#advanced-conditional-redirects
HttpRedirectCode
The text was updated successfully, but these errors were encountered: