ResponseEntity
is not Serializable
. Better way is to cache at the service/DAO layer ( in your case getMostFollowedSubCategory
method of subCategoryDao
).
↧
Answer by Shailendra for Is there any way to store response entity in redis cache?
↧