OutputCache not working when watchdog is used
tnlthanzeel opened this issue · 11 comments
Description
I have an API built with ASP Core 8 and i have added OutputCache
to cache countries from a GET
endpoint. The OutputCache
seem to work fine. But once i add watchdog the output cache doesn't work and it always hits the API. If watch dog is commented the OutputCache
c=works agaib
Expected behavior
OutputCache
,ust work with watchdog
Details (please complete the following information):
- Project Type: ASP Core 8 web API
- Framework Version: .NET 8
- WatchDog Version: 1.4.10
- Database: MSSQL
@tnlthanzeel have you tried switching the middleware order?
For example, having app.UseOutputCache()
come before app.UseWatchDog()
yes, i have tried different orders of the middleware, non of them worked
hi @IzyPro , did you have time to check on this?
@IzyPro , any update on this issue?
Hi @tnlthanzeel
Would you be willing to help run some tests?
If you are, please reach out to me on Twitter(X) @IzyPro_
This issue is stale because it has been open for 30 days with no activity.
Ho. Didnt have time to check on this, but this still the issue persist
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.