-
Notifications
You must be signed in to change notification settings - Fork 64
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 an S3 backend #41
Comments
I'm looking for this feature and could possibly create a PR. I think the |
Hey, A PR would be great! And indeed the Also maybe the implementation of a search. I guess nothing too sophisticated. It would be linear in the number of entries in some way, and you would probably have to use the S3 functionality of getting all object with a certain key prefix, to get all cache entry for certain function, or maybe just use it to get the one with a specific function-key combo; this would mean naming object in a certain way, like Let me know what you think. |
S3 supports to add metadata as html headers to each object. I think this could serve the purpose of the additional Automatic expiration directly inside S3 would be nice too, but that seems to be only supported on a per bucket configuration ... If the caching is for an asset served over http, S3 would even make it possible to offload the delivery of the object to S3 and use pre-sigend urls: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html Thinking about locking. Is this really required? Do you want to guarantee that each object is only generated once? If yes, this is not possible with S3 alone. What are your thoughts? |
|
For me, the most probable use case in the near future is an an S3-backed persistent cache.
The text was updated successfully, but these errors were encountered: