mirror of
https://github.com/bitwarden/server.git
synced 2025-07-13 13:47:30 -05:00
response caching for 24 hours
This commit is contained in:
@ -27,6 +27,7 @@ namespace Bit.Icons.Controllers
|
||||
}
|
||||
|
||||
[HttpGet("")]
|
||||
[ResponseCache(Duration = 86400 /*24 hours*/, VaryByQueryKeys = new string[] { "url" })]
|
||||
public async Task<IActionResult> Get([FromQuery]string url)
|
||||
{
|
||||
if(string.IsNullOrWhiteSpace(url))
|
||||
|
Reference in New Issue
Block a user