Rowin
Explore posts from serversCDCloudflare Developers
•Created by Rowin on 6/10/2024 in #general-help
HTTP/2 to origin with Nginx causing 520 errors
Everything's fine with HTTP/1.1 to origin. I think this problem is caused by Nginx's
keepalive_requests
.
Probably relevant: https://trac.nginx.org/nginx/ticket/1250
The ticket was closed with the message "HTTP/2 connections now support lingering close mechanism."
Is there a chance that this is a problem on Cloudflare's side? I noticed that this was recently added to Cloudflare's documentation:
Connection multiplexing is currently being rolled out. It will be enabled gradually on Free, Pro and Business zones. This release will be complete by June 15th 2024. Enterprise zones will be enabled at a later stage.https://developers.cloudflare.com/speed/optimization/protocol/http2-to-origin/
4 replies
CDCloudflare Developers
•Created by Rowin on 4/7/2024 in #pages-help
(Relatively) high latency compared to other services
I noticed that Cloudflare Pages latency is (relatively) quite a bit high compared to Vercel and Netlify.
I sent 100 requests to each of these providers and measured the latency to download a txt file containing just
Hello!
, only counting requests that used an already established connection to the server:
Vercel:
Netlify:
Cloudflare Pages:
This is from a VPS from Hetzner in Germany. I get similar results from my home connection in the Netherlands. How come Cloudflare Pages has the highest latency, given the amount of PoPs Cloudflare has?
Don't get me wrong, I absolutely love Cloudflare Pages, just wondering if there's something unusual going on here.53 replies
[nuxt] Cannot load payload /_payload.json
I just created a brand new Nuxt project using
npx nuxi@latest init
. I set up routing by adding <NuxtPage />
to app.vue
and creating pages/index.vue
. Then I made a static export using npm run generate
and finally I serve it using npx serve .output/public
.
I am getting the following error in my browser's console:
Why is Nuxt is trying to load a non-existent JSON file? Did I find a bug already? 😬18 replies