Reading a 5 MB file from Worker

I am new to cloudflare workers . I am trying to read a 2 MB csv file from R2 and return some columns from that file . For each request I dont want to read the entire file. I want them to read it once per worker so that it can reuse the same read contents . Is it possible to achieve that ? I am able to access R2 using env variable which I dont want to do it for every request? How can I do that?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server