aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Controllers/UserAvatarController.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-03-13 17:58:32 +0800
committercrupest <crupest@outlook.com>2020-03-13 17:58:32 +0800
commit636cf3839d92e884987e4e3aec7f23953d02fe37 (patch)
treedd53c68673c84a0cbf157ef0378dbdc1b4610d53 /Timeline/Controllers/UserAvatarController.cs
parent8a1ecbf49673cb2bed538ac8bc4e82691b90d973 (diff)
downloadtimeline-636cf3839d92e884987e4e3aec7f23953d02fe37.tar.gz
timeline-636cf3839d92e884987e4e3aec7f23953d02fe37.tar.bz2
timeline-636cf3839d92e884987e4e3aec7f23953d02fe37.zip
Add cache for timeline post data.
Diffstat (limited to 'Timeline/Controllers/UserAvatarController.cs')
-rw-r--r--Timeline/Controllers/UserAvatarController.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/Timeline/Controllers/UserAvatarController.cs b/Timeline/Controllers/UserAvatarController.cs
index f78dcb08..b5f4be1e 100644
--- a/Timeline/Controllers/UserAvatarController.cs
+++ b/Timeline/Controllers/UserAvatarController.cs
@@ -32,7 +32,6 @@ namespace Timeline.Controllers
}
[HttpGet("users/{username}/avatar")]
- [ResponseCache(NoStore = false, Location = ResponseCacheLocation.None, Duration = 0)]
public async Task<IActionResult> Get([FromRoute][Username] string username)
{
long id;