Pages + Workers + R2

Hey,

I have a little problem.

So I created a website in NextJS for displaying pictures. The website is hosted through CloudFlare Pages.
I am retrieving the images via a CloudFlare worker from a CloudFlare R2 Bucket.

The images are all high quality (4k) but now the issue is, these images all load very slowly and sometimes the website is unreachable.

Is there a solution to this problem without lowering the quality of the photos?
I have already tried some with CloudFlare Rules but no result yet.

Thanks in advance
Was this page helpful?