YodasMyDad / ZauberCMS

The Blazor CMS, built by .Net Developers for .Net Developers
MIT License
53 stars 5 forks source link

Query Caching #5

Closed YodasMyDad closed 3 months ago

YodasMyDad commented 3 months ago

Currently the queries are just run directly on the DB/EF Core via Mediatr.

Look at an option to have cached queries, maybe do our own with memory caching, have cached bool on the command?

EF Core Query Caching? (https://www.nuget.org/packages/Z.EntityFramework.Plus.EFCore/) Does this auto clear?

Also this any good?

https://codewithmukesh.com/blog/caching-with-mediatr-in-aspnet-core/