Huge Delay before images load

For Workers & Pages, what is the name of the domain?

N/A

What is the error number?

none

What is the issue or error you’re encountering

I switched to cloudflare images and when the page loads, before cloudflare images start loading, the site waits for long seconds. However, when I try to visit any cloudflare image url, it loads directly. What might be the issue?

What steps have you taken to resolve the issue?

Checked Cloudflare images settings, I could not find any specific setting to fix this issue. I tried adding loading=“lazy” to img tags, that didn’t work. I tried to fix via .htaccess, no luck.

May I ask if the images are also getting transfermed, resized, modified “on-the-fly” or just being served from the imagedelivery.net domain? :thinking:

How big (filesize) and resolution are they, how much you’ve got them on a single page, or it’s even just a case for a single image (not bunch of them on the page)?

Are you using a Worker to serve them?, wodner since it might not be cached.

Related to the zone plan type, are you using Free or paid plan? Asking due to the Polish feature.

Thanks for your response. Turns out it was a PHP function to check the image size. It can not get the sizes, probably because it is served outside.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.