From 378f87ab69a1ca76c918d29294af5f3af3318bff Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 25 Oct 2017 12:52:55 -0400 Subject: [PATCH] cache icons for 7 days --- src/Icons/Controllers/IconsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Icons/Controllers/IconsController.cs b/src/Icons/Controllers/IconsController.cs index c9815488f..eac248297 100644 --- a/src/Icons/Controllers/IconsController.cs +++ b/src/Icons/Controllers/IconsController.cs @@ -33,7 +33,7 @@ namespace Bit.Icons.Controllers } [HttpGet("{hostname}/icon.png")] - [ResponseCache(Duration = 86400 /*24 hours*/)] + [ResponseCache(Duration = 604800 /*7 days*/)] public async Task Get(string hostname) { if(string.IsNullOrWhiteSpace(hostname) || !hostname.Contains("."))