Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

How can I add cache to the public worker? #2

Closed
iamdarkle opened this issue May 28, 2022 · 3 comments
Closed

How can I add cache to the public worker? #2

iamdarkle opened this issue May 28, 2022 · 3 comments

Comments

@iamdarkle
Copy link

Hi, thank you very much for creating this, it's a great help! Right now I've just started all this R2 stuff, there is hardly any guide beyond the docs. Do you know how I could include cache to your repository? I've been doing some research in the docs and some projects (https://community.cloudflare.com/t/how-to-cache-workers-responses-with-r2-backend/386408), but honestly I don't know exactly how to do it, I hope you can help me 🙂

@cmackenzie1
Copy link
Owner

@iamdarkle, hopefully this example can help you find what you are looking for :) https://github.com/kotx/render

@iamdarkle
Copy link
Author

Unfortunately that repository only supports read not upload which is something I need 😕

@cmackenzie1
Copy link
Owner

@iamdarkle, apologies but that is out of the scope of this example. This is just for serving the content already in a bucket. Your best resource would be the developer docs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants