Clarification on 25 MB Limit for Cloudflare Pages: Total Build Size vs. Individual File Size
Can I use Cloudflare Pages if the final build of my site exceeds 25 MB, while the size of each individual file does not exceed 25 MB?
I tried it and it works perfectly, but in your documentation on the page Products -> Pages -> Platform -> Limits -> File size, it states:
"The maximum file size for a single Cloudflare Pages site asset is 25 MiB."
Will using it this way result in any limitations on my account from Cloudflare? Can I continue using it if it works perfectly and there are no restrictions from Cloudflare? The final build of my site is about 70 MB.
https://developers.cloudflare.com/pages/platform/limits/#file-size
Cloudflare Docs
Limits
Below are limits observed by the Cloudflare Free plan. For more details on removing these limits, refer to the Cloudflare plans page.
2 Replies
The keyword there is the maximum file size for single site asset
Can I use Cloudflare Pages if the final build of my site exceeds 25 MB, while the size of each individual file does not exceed 25 MB?Yes The max two size limits there are 20k files per deployment 25 MiB max per file
@Chaika thank you
Marked as solved