Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
|
CLAs look good, thanks! |
|
To be honest I am not quite sure why the CI fails… I tried adding my package & azure sdk to the vendors file but it did not help so far (I am quite new to Go and the whole architecture). |
|
Hey Paul, sorry I never got around to taking a look at this when you first sent it. Are you still interested in trying to land this? If so, it looks like the underlying azure sdk has changed a bit since you wrote your azurestorage package. I've never used Azure myself, so it might be faster for you to fix it up, otherwise I'll try taking a look at some point and send a pull request to your azurestorage project. |
|
Hi Will! This is my first time with Go, I tried to workaround the issue but I had to fix it quickly and rewriting the whole layer using a technology I already mastered was faster. I think it would be best to fix it with your project, as it is way more efficient than what I wrote. I can work on this, but I am in a rush these weeks, I should be able to land something but not before october I think. If you prefer to work on this on your own that's fine by me. |
|
Sounds good, I'll try poking around with azure storage and see what I can figure out. It looks like the Azure SDK has changed in relatively small ways, so I don't think it'll be a lot of work to fix your storage layer. |
|
okay, pull request sent your way: PaulARoy/azurestoragecache#1 |
|
all merged in and ready to go. If and when you switch back to using imageproxy, let me know how it works for you. And thanks for the contribution! |
|
Thank you very much! This is amazing :) As I said I am in a rush for a few weeks but I will try as soon as I can! |
I was using this amazing proxy on prod but without cache because my Azure App Service could not handle storage well enough.
But it was clearly not optimal. I thought it would be cool to add Azure Storage Support.
For that I needed an implementation of Http Cache with Azure Storage so I built one (http://github.com/PaulARoy/azurestoragecache)
This pull request only adds support for azure cache according to my package.
Usage: « -cache azure »
Three values can be passed on to the cache:
Feel free to modify anything. It currently runs in production for my website.