kong-plugin-response-cache
kong-plugin-response-cache copied to clipboard
Feature/ignore upstream 5xx
Hey @wshirey 👋 ,
I tested out your plugin with a json body but it seems to be giving json encoding errors. This patch fixes those issues as well as does the following:
- [x] Skip caching when upstream gives back a 5xx
- [x] Assign priority to the plugin to execute after most plugins.
Let me know if any changes are needed.
Thanks for the PR @OrthoDex. I left a few comments. Also, can you tell me what version of Kong you tested? I will try and test this evening.
@wshirey I used kong 0.11.2