Comment to 'Cloudflare Setup and Configuration'
  • Hello Yall,

    Please beware that Cloudflare is not recommended for high volume media platforms/websites like UNA (video upload, streaming etc) because of their client max upload size (100 MB on Free and Pro plan, 200 MB on Business and 500 MB on Enterprise) and their limitation on non-HTML Caching.

    Yes they limit the upload size (HTTP POST request size) per plan type. They can cancel or disable your account due to excessive CDN traffic.

    See: https://www.cloudflare.com/plans/

    Also, their TOS used to say:

    2.8 Limitation on Non-HTML Caching
    The Services are offered primarily as a platform to cache and serve web pages and websites. Unless explicitly included as part of a Paid Service purchased by you, you agree to use the Services solely for the purpose of (i) serving web pages as viewed through a web browser or other functionally equivalent applications, including rendering Hypertext Markup Language (HTML) or other functional equivalents, and (ii) serving web APIs subject to the restrictions set forth in this Section 2.8. 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. If we determine you have breached this Section 2.8, we may immediately suspend or restrict your use of the Services, or limit End User access to certain of your resources through the Services.

    Please search their forum (community) for more details. e.g.:

    https://community.cloudflare.com/t/limitation-on-non-html-caching/120427

    https://community.cloudflare.com/t/am-i-technically-violating-cloudflares-tos/398386

    One of the workarounds to bypass Cloudflare's upload max limit is to 'chunk' the request into smaller pieces (Chunking or Chunk Uploader). Unfortunately we miss that feature in UNA although it has already been requested by other members:

    https://una.io/d/error-500-uploading-videos-larger-than

    https://una.io/d/suggestion-chunked-uploads-to-get-around

    https://una.io/cmts-view/8gwjcj?sys=bx_forum&cmt_id=32136

    A ticket was created in Github:

    Add support for chunking in uploader #3162

    https://github.com/unacms/una/issues/3162

    Unfortunately, since 2021 nothing has been done yet. @Andrey Yasko @Alex T⚜️

    The day UNA will implement the "Chunk Uploader", then Cloudflare will probably be the best option for web performance and cybersecurity.

    Let's keep our fingers crossed.