d3v1an7
CDCloudflare Developers
•Created by d3v1an7 on 4/16/2025 in #pages-help
Pages upload limits
Ah yep, that makes sense!
Might be a terrible idea, but I was just thinking a .json file, either locally or in the R2 bucket? Will do some more reading and get into it.
Thanks heaps for taking the time to get me up to speed, really appreciate it!
13 replies
CDCloudflare Developers
•Created by d3v1an7 on 4/16/2025 in #pages-help
Pages upload limits
Gotcha. If it's not secret sauce, I'd love to know more about the technical limitations -- if we're gonna make our own manifest, it'd be nice to not have to discover issues you're already across. Fully understand if that's not possible.
13 replies
CDCloudflare Developers
•Created by d3v1an7 on 4/16/2025 in #pages-help
Pages upload limits
One thing I love love love about the pages upload is the in-built check to see what has actually changed:
Does R2 have a similar capability?
13 replies
CDCloudflare Developers
•Created by d3v1an7 on 4/16/2025 in #pages-help
Pages upload limits
I'm assuming it'll be fast enough, cause it's all in Cloudflare?
13 replies
CDCloudflare Developers
•Created by d3v1an7 on 4/16/2025 in #pages-help
Pages upload limits
I haven't messed with bindings yet, but sounds like a fun experiment!
Something along the lines of:
1. Build site locally (a bunch of html files)
2. Push to R2 bucket
3. Set up Worker with binding to R2 bucket
4. All requests to worker on a known path will grab html from R2 and use it as the response
13 replies
CDCloudflare Developers
•Created by d3v1an7 on 4/16/2025 in #pages-help
Pages upload limits
Ah bummer. We probably could split collection types into their own workers (one for articles, one for newsletters, etc), but given how news works (everything happens so much), splitting things up will just delay the inevitable. I'll hit up the whiteboard, but keen to hear if you have any other news/large static users that might be happy to share strats and tactics!
13 replies