What's the least janky way to host a file just over 25MB?

From my research, there’s a hard limit of 25MB for files on Pages (which originates from KV limits, sounds like I can’t just get an exception). I have a file just over 25MB that I need to host. I’ve tried compressing it to no avail. So I have to resort to other methods.

These are the options I’m considering:

  • host it on GitHub and pass it through a worker
  • upload the two parts separately and join them with a worker
  • add the large part of the file in a worker and zip it up

Which one of these is the least janky?

If it were me, I’d throw it into R2 and hotlink it:

You will almost certainly remain in the free tier for a long while.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.