rakudo / rakudo.org

Code for rakudo.org website
https://rakudo.org/
Artistic License 2.0
8 stars 18 forks source link

sometimes https://rakudo.org/dl/rakudo does not include version 2023.11 #97

Closed skaji closed 10 months ago

skaji commented 10 months ago

https://github.com/Raku/setup-raku is fetching the latest binary URLs of Raku from https://rakudo.org/dl/rakudo.

However, it appears that sometimes https://rakudo.org/dl/rakudo returns a JSON that does not include version 2023.11 binary URLs. As a result, setup-raku occasionally identifies version 2023.10 as the latest.

From my investigation, https://rakudo.org/dl/rakudo typically returns a response with:

Last-Modified: Mon, 27 Nov 2023 02:27:46 GMT  // today

But occasionally, it returns an older response with:

Last-Modified: Tue, 21 Nov 2023 19:20:12 GMT  // some time in the past

During these times, it seems that version 2023.11 binary URLs are not included.

I would like to request a check to ensure that https://rakudo.org/dl/rakudo is functioning correctly.

patrickbkr commented 10 months ago

Hm. That smells like some web cache. Cloudflare? @andinus @dontlaugh

andinus commented 10 months ago

Yes, that definitely is Cloudflare cache, I've added a rule to bypass cache for /dl/rakudo. This should be fixed now.

Edit: Sorry, this was a configuration issue. There was a specific rule for links that are under /dl to cache the downloads, I updated it to cache links that end in .gz instead and added a specific rule for /dl/rakudo page to bypass the cache.

skaji commented 10 months ago

@andinus @patrickbkr Thank you!