Re:YARP – Microsoft toolkit to build fast reverse proxy servers
by andix on Monday November 22, 2021 @12:37PM
(#29309173)
I 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.
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.