Para
Para
CDCloudflare Developers
Created by Para on 1/11/2024 in #workers-help
Question about Pages, Workers, and Functions
Hello, I'm trying to wrap my head around how these products integrate. I have pages website and I want to be able to pull data from a R2 bucket in order to be displayed on the Pages site. What is the correct way of doing this? Creating a worker that handles the R2 bucket access and then having the pages site access via api? Or creating a function that access the bucket and forgo the worker? When the worker or page has an R2 binding, I assume secrets are not necessary?
4 replies