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

🚀 Feature: Configure Client-Side Cache Control For Storage #7281

Open
2 tasks done
minecrawler opened this issue Dec 13, 2023 · 4 comments
Open
2 tasks done

🚀 Feature: Configure Client-Side Cache Control For Storage #7281

minecrawler opened this issue Dec 13, 2023 · 4 comments
Labels
backlog Issues waiting in the backlog product / storage Fixes and upgrades for the Appwrite Storage.

Comments

@minecrawler
Copy link

minecrawler commented Dec 13, 2023

🔖 Feature description

Cache headers (ETag, Max-Age,..) should be configurable for files in Storage. This can be done in the following ways:

  1. There's a config dialog in the console to set global cache options for a bucket or file
  2. On upload, file-specific cache settings can be send as part of the API request, which overwrite settings from 1)
  3. On download, cache settings can be requested, which overwrite settings from 1) and 2)

ETag may be selectable as static value, hash or date.

🎤 Pitch

Depending on usage of files stored in the Storage, files may have different caching requirements for optimal user experience. A customer should be able to tune caching to their needs with global defaults and fine-grained control.

For example, an avatar image may be cached for hours to days, while diagrams may need to be refreshed more frequently. Logos or documents may even be cached for weeks!

Allowing control over the headers is a simple and efficient way to enable this feature while not costing any additional resources.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@stnguyen90 stnguyen90 added the product / storage Fixes and upgrades for the Appwrite Storage. label Dec 15, 2023
@golu360
Copy link

golu360 commented Dec 17, 2023

Is this up for grabs? Would love to pick it up and implement a solution.

@eldadfux eldadfux added the backlog Issues waiting in the backlog label Feb 11, 2024
@golu360
Copy link

golu360 commented Feb 15, 2024

Is this issue still up for grabs and can be assigned to me?

@golu360
Copy link

golu360 commented Mar 13, 2024

@stnguyen90 Is this issue still up for grabs?

@stnguyen90
Copy link
Contributor

@golu360, thanks for your interest! Unfortunately not. This one would require internal discussion and our design team to be involved. For now, if you're interested in this feature, make sure to add a 👍🏼 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Issues waiting in the backlog product / storage Fixes and upgrades for the Appwrite Storage.
Projects
None yet
Development

No branches or pull requests

4 participants