Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM...
by rkagerer on Saturday April 16, 2022 @07:43PM
(#31057085)
Are there any tricks a user can do to bypass Cloudflare or force a cache invalidation?
[ Parent
| on HN ]
Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM...
by arjvik on Saturday April 16, 2022 @07:49PM
(#31057135)
That would entirely defeat the purpose of cloudflare's DDoS protections.
Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM...
by serentty on Saturday April 16, 2022 @07:59PM
(#31057184)
Yeah, I imagine it would. I can invalidate the cache myself, but it would not make sense for a user to do so.
Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM...
by zhfliz on Saturday April 16, 2022 @08:52PM
(#31057450)
generally, adding random query params like ?1, ?2, ?12345 helps with the default settings of including that in the cache key.
that will also work in this instance.
you won't however see it slowly send the response as you do on http://trombone.zapto.org/, as cloudflare seems to block until it received the full response from the backend.
Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM...
by freedomben on Saturday April 16, 2022 @11:42PM
(#31058279)
You're not wrong, but all of that behavior is configurable so may work on some sites and not others. The account owner can tell cloudflare whether to consider query params different or the same for cache hit puproses. You can also configure whether cloudflare streams/buffers (although some of it does require the enterprise plan).
No affiliation with cloudflare other than I use them for several sites.
Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM...
by zhfliz on Sunday April 17, 2022 @12:16PM
(#31061935)
indeed, hence
> helps with the default settings of including that in the cache key
I didn't know about response streaming being configurable, it seems to be enabled by default and configurable for enterprise customers: https://support.cloudflare.com/hc/en-us/articles/206049798-S...
I assume due to the (relatively) small response size of this page it buffers regardless.
Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM...
by serentty on Saturday April 16, 2022 @08:39PM
(#31057392)
If you want to visit the page directly without CloudFlare, go to http://trombone.zapto.org instead.
Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM...
by rkagerer on Saturday April 16, 2022 @11:16PM
(#31058150)
Nice! Thanks for serving me. It was snappier than expected.
Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM...
by jesprenj on Saturday April 16, 2022 @08:44PM
(#31057416)
Somehow getting the IP address of the server (in this case 174...*) would enable you to connect directly. Websites, such as crimeflare.org crawled the net to gather those addresses, probably by scanning, but the mentioned site was shut down as it seems.
Re:Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM...
by hunter2_ on Saturday April 16, 2022 @11:53PM
(#31058326)
A site that really wants Cloudflare's protection would ignore all traffic that doesn't come from Cloudflare though. In practice, many origins probably aren't locked down in this fashion.