Replies: 2 comments 5 replies
-
@andrelandgraf what do you think about some of these ideas that involve openimg? |
Beta Was this translation helpful? Give feedback.
3 replies
-
I integrated openimg into my site today and experimented with using Tigris as a cache layer. Code’s here if anyone’s curious: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been implementing EpicStack's storage logic onto my personal project, and I've been working on some optimizations.
Since it could involve significant changes, I’d like some insights and feedback before opening a PR for this.
This is the link to my current implementation:
https://github.com/nichtsam/nichtsam.com/tree/dev/app/utils/storage
Discussion Points
This approach opens up more flexibility — including the potential to use Tigris as a CDN.
This is encouraged by both Tigris and S3. Could help with compatibility and future-proofing:
https://www.tigrisdata.com/blog/virtual-hosted-urls/
https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html#path-style-access
Simple but useful
HTTPS already offers decent security, and the extra complexity doesn’t seem worth the marginal benefit.
Currently, there’s no S3 client used. I’m guessing it’s to stay dependency-free and more agnostic?
We could make openimg no-cache and implement logic to cache via Tigris, benefiting from their CDN layer.
Beta Was this translation helpful? Give feedback.
All reactions