Response caching & GZip compression in asp.net core web application

ASP.NET Core Render View to String