I have a Blazor server-side app and I replaced my memory cache ITicketStore implementation with a distributed cache using SQL Server. When running in IIS, the app's application pool is recycled every 24 hours.
The authentication cookie is a session cookie, so it is automatically removed once the user closes the browser tab or the browser itself.
In my above scenario, are there any advantages/benefits of using a distributed cache instead of a memory cache implementation?