You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should add caching for downloaded files from AWS as we pay for each download.
Should we cache all files?
Sounds like a bad idea, as the cache will be overloaded.
We could decide per file size if the file should be cached.
For getting the filesize we have two options:
Store the size of the file somewhere on uploading.
Do a HEAD request to AWS.
Should users be able to bypass the cache?
For the main API I don't think that will be needed as we need caching primarily to avoid unnecessary spendings.
Adapter
InMemory Adapter
Bring your own (Redis) adapter?
The text was updated successfully, but these errors were encountered:
j92
changed the title
Caching: Download enpoint
Caching for download enpoint
Jul 13, 2021
We should add caching for downloaded files from AWS as we pay for each download.
Should we cache all files?
Sounds like a bad idea, as the cache will be overloaded.
We could decide per file size if the file should be cached.
For getting the filesize we have two options:
Should users be able to bypass the cache?
For the main API I don't think that will be needed as we need caching primarily to avoid unnecessary spendings.
Adapter
The text was updated successfully, but these errors were encountered: