Commit b59ecbff authored by Clint Mourlevat's avatar Clint Mourlevat

Removing cache

parent a795da63
......@@ -25,7 +25,6 @@ namespace Stratis.Guru.Controllers
_stats = JsonConvert.DeserializeObject(_memoryCache.Get("BlockchainStats").ToString());
}
//[ResponseCache(Duration = 60, NoStore = true)]
public IActionResult Index()
{
var latestBlockClient = new RestClient($"{_nakoApiSettings.Endpoint}query/block/Latest/transactions");
......
......@@ -50,11 +50,11 @@ namespace Stratis.Guru
services.AddTransient<UpdateHub>();
services.AddSingleton<IAsk, Ask>();
services.AddResponseCaching(options =>
/*services.AddResponseCaching(options =>
{
options.UseCaseSensitivePaths = true;
options.MaximumBodySize = 1024;
});
});*/
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment