4 ms·
I hope you left feedback! - Writing code in a .net based language is one of the strengths. - let’s encrypt isn’t built in but can be added by using https://gi
by davidfowl 5y ago
I hope you left feedback!
- Writing code in a .net based language is one of the strengths.
- let’s encrypt isn’t built in but can be added by using https://github.com/natemcmaster/LettuceEncrypt https://github.com/natemcmaster/LettuceEncrypt
- Not sure about the caching one. Do you have more details?
- andix 5y agoYes, the code first configuration in .NET attracted my interest. Also it's testability. I don't understand why they push their JSON configuration so much. If you want config files, take nginx, HAproxy, Traefik, ... LettuceEncrypt is more or less currently unmaintained. Way too risky to use, no idea how to fix that, if something breaks. About caching, this issue sums up my issue quite well: https://github.com/dotnet/aspnetcore/issues/27387 https://github.com/dotnet/aspnetcore/issues/27387 I went with Traefik after all, I'm quite happy with that choice.
- davidfowl 5y agoFair! Glad you found something that works. Out of curiosity, Traefik has output caching ?
- andix 5y agoNo it doesn’t. At least not the free version. YARP got me interested, because I thought I could write some complex caching rules in C#. But you can’t, so every other proxy that doesn’t cache is as good as YARP ;)
- davidfowl 5y agoUh, not sure I understand. Do you mean you didn't want to write the logic? That issue you point to just means the component doesn't exist out of the box. Is that what you meant?
- andix 5y agoI wanted to implement some very specific caching rules, based on some POST parameters inside a JSON. This seems to be possible with nginx and Lua, you extract a unique cache key from your request, and then nginx caching takes care of the rest. But in my case not out of the box or without the paid version. So I hoped to fix that problem with YARP, but I would’ve needed to implement my own caching as a completely new middleware. In the end I implemented the caching in the database.