if i have assets hosted in cloudflare pages and accessing the files in my mobile application like myapp.pages.dev/assets/sample.pdf (400kb average size) will it cause problem in my account if users increases?
Nope. We don’t limit visits, bandwidth or anything
You can find the limits for Pages here: Limits · Cloudflare Pages docs
(Which are mainly around file count, build count, domain count - nothing impacting traffic)
In this answer he told that Use of the Services for serving video or a disproportionate percentage of pictures, audio files, or other non-HTML content is prohibited, unless purchased separately as part of a Paid Service or expressly allowed under our Supplemental Terms for a specific Service.
Can you explain me further? And I hope you understood my question correctly as I’m developing an application and have some PDF files which I want to store in the website’s assets and use url to access directly in my app.
The key phrase in that section of the TOS is “disproportionate percentage”.
If you’re concerned about it and expect to be doing a huge amount of traffic, then your best option would probably be to store and serve the PDFs (etc.) from something like Cloudflare R2, which is perfectly designed and allowed to store and serve arbitrary content.
I was also thinking to use R2 but have some doubts in mind. Does R2 have bandwidth system like other providers such as Firebase which have 0.12$ per GB or it will count 1 reads every time I access a file irrespective of its size
R2 doesn’t charge for bandwidth. Just storage and requests. R2 pricing is here:
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.