Cache resources

This commit is contained in:
jvyden 2021-11-22 19:39:09 -05:00
commit 7ca9e5ae61
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -39,6 +39,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers
return this.Ok(LbpSerializer.StringElement("resources", resources));
}
[ResponseCache(Duration = 86400)]
[HttpGet("/gameAssets/{hash}")]
[HttpGet("r/{hash}")]
public IActionResult GetResource(string hash)