Increasing the number of files limit for a Cloudflare Pages deployment

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

What is the error message?

Error: Pages only supports up to 20,000 files in a deployment. Ensure you have specified your build output directory correctly.

What is the issue or error you’re encountering

I’d like to increase the limit of the number of files in a Cloudflare Pages deployment

What steps have you taken to resolve the issue?

I have tried to fill out the form, but there was no confirmation of any sort that the form was actually received.

I’m creating a website to host high resolution images of my community’s murals. I am using tiled images to enable high resolution zoom with minimal bandwidth usage. This requires a LOT of files, since each image is turned into many tiles. The 20,000 file limit is far too small for this, I would be interested in increasing it to something like 500,000-1 million files to support future murals/images as well.

What are the steps to reproduce the issue?

Have a deployment with more than 20k files

The file limit cannot be increased today.

You should store these image tiles into R2 instead and fetch from there

1 Like