Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add query param to cache uploads #159

Open
vikiival opened this issue Oct 1, 2023 · 0 comments
Open

Add query param to cache uploads #159

vikiival opened this issue Oct 1, 2023 · 0 comments

Comments

@vikiival
Copy link
Member

vikiival commented Oct 1, 2023

Add query param cache to mark if the content should be cached or not

If query param is present images should be uploaded to cfi and other content to R2

Tasks:

  1. In /pinFile handler
  2. If cache=true
  3. in mime-type starts with image save to cfi
  4. else save to R2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant