IzyPro / WatchDog

WatchDog is a Realtime Message, Event, HTTP (Request & Response) and Exception logger and viewer for ASP.Net Core Web Apps and APIs. It allows developers log and view messages, events, http requests made to their web application and also exception caught during runtime in their web applications, all in Realtime.
MIT License
765 stars 115 forks source link

OutputCache not working when watchdog is used #136

Closed tnlthanzeel closed 8 months ago

tnlthanzeel commented 11 months ago

Description I have an API built with ASP Core 8 and i have added OutputCache to cache countries from a GETendpoint. 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

Screenshots image

Details (please complete the following information):

IzyPro commented 11 months ago

@tnlthanzeel have you tried switching the middleware order? For example, having app.UseOutputCache() come before app.UseWatchDog()

tnlthanzeel commented 11 months ago

yes, i have tried different orders of the middleware, non of them worked

tnlthanzeel commented 11 months ago

hi @IzyPro , did you have time to check on this?

tnlthanzeel commented 10 months ago

@IzyPro , any update on this issue?

IzyPro commented 10 months ago

Hi @tnlthanzeel Would you be willing to help run some tests? If you are, please reach out to me on Twitter(X) @IzyPro_

github-actions[bot] commented 9 months ago

This issue is stale because it has been open for 30 days with no activity.

tnlthanzeel commented 9 months ago

Ho. Didnt have time to check on this, but this still the issue persist

github-actions[bot] commented 8 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 8 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

IzyPro commented 7 months ago

Hi @tnlthanzeel This has now been resolved. Update to the just released v1.4.11 and check the documentation for how to configure WatchDog when using output cache.

tnlthanzeel commented 7 months ago

Hi @tnlthanzeel This has now been resolved. Update to the just released v1.4.11 and check the documentation for how to configure WatchDog when using output cache.

Thanks a lot!