You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is we had used the below Ocelot JSON to cache the response and it's holding the data for one full day (86400 secs). here is suppose to get some errors during the services call like(500,502,499...). what happened is the cached error response was not even updated till one full day even the services issue got resolved.
So we are looking for the gateway to cache only success and not the failure cases. It should be hit services till when its bring success(200).
Is there any option in OCELOT to restrict caching based on the HTTP Status code like 500, 502, 503, 499..etc?
The text was updated successfully, but these errors were encountered:
The problem is we had used the below Ocelot JSON to cache the response and it's holding the data for one full day (86400 secs). here is suppose to get some errors during the services call like(500,502,499...). what happened is the cached error response was not even updated till one full day even the services issue got resolved.
So we are looking for the gateway to cache only success and not the failure cases. It should be hit services till when its bring success(200).
Is there any option in OCELOT to restrict caching based on the HTTP Status code like 500, 502, 503, 499..etc?
The text was updated successfully, but these errors were encountered: