Hi,
Can Sql server cache be used instead of redis is the database is also on Sql server? Any drawbacks? Any advices on how to implement Sql server caching?
Thank you for your time.
3 Answer(s)
-
0
Hi,
It's not related to ABP, you can check the Microsoft document: https://learn.microsoft.com/en-us/aspnet/core/performance/caching/distributed?view=aspnetcore-7.0#distributed-sql-server-cache
-
0
Thank you for your answer and link.
I think it's related to abp because when using the template with a public web site, abp uses redis. Would configuring sql server caching for an abp project break abp functionality that relates on redis? The idea is to not use redis at all in the solution.
-
0
Would configuring sql server caching for an abp project break abp functionality that relates on redis? The idea is to not use redis at all in the solution.
No problem, you can safely use SQL Server instead of Redis.
Abp does not depend on redis, it uses distributed cache, you can use any distributed cache implementation(Redis, SqlServer...etc)
You can remove the Redis Nuget package from the project.