I’ve started using Cloudflare Images on my dev site (WordPress), and am noticing a sometimes seconds long delay when loading an image directly from https://imagedelivery.net…
The size of that specific variant is just 200-300kb. I would expect it to load almost instantly.
Sometimes even the thumbnail size takes seconds to load, and that variant is just 10-20kb.
Is there a performance issue, or do I need to add something to the tag or header for it to load with a “normal” speed?
How would I go about talking to someone about expected speeds? Currently the speeds are too slow to be used on a live site, and I’ve tried to alleviate it with Cloudflare workers and caching etc. First load sometimes takes seconds.
If I can’t find a solution I have to abandon CF images.
hey I experience the same on a test website, if you move the images to the root page they load much faster but seems like Cloudflare is slowing free sites to the level that it almost makes no sense to use Cloudflare as instead of improvement you can visually see the slowness of content loading.
I also move to netlify but I hope to return once it is fixed.
Check to see if you are serving an AVIF, WebP or JPG/PNG version of the image as AVIF has much higher resource usage requirements to convert for so if it’s initial AVIF converted/served image it could have a higher TTFB.
and with my CF Worker serving the CF Image URL on my own domain - slower image request but faster Core Web Vitals as the images served on own domain behind Cloudflare has more optimal critical render path and HTTP request prioritization that serving off 3rd party domain
In the speedvitals response headers (testing against this url): https://imagedelivery.net/zjGFX6fhPwWjPlpc0uy16w/10e9f3e2-3a53-4d75-44ab-db2fe7a28600/public it seems that image/jpeg is being served
And also very high TTFB testing with KeyCDN (again, a test with only an uncached image)
They’re tested as is for images actually in use so I suspect they’d be a mix of cached, miss and re-validations from what I can see. The highest TTFB seems to be when the image is in cache state = revalidation