diff options
author | crupest <crupest@outlook.com> | 2020-03-13 17:58:32 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-13 17:58:32 +0800 |
commit | 671590b071cccfb889e68c3f74581fcf15a02921 (patch) | |
tree | dd53c68673c84a0cbf157ef0378dbdc1b4610d53 /Timeline/Controllers/UserAvatarController.cs | |
parent | 8833b4eb1e65dda51abd24b453b86531b3f5f7a8 (diff) | |
download | timeline-671590b071cccfb889e68c3f74581fcf15a02921.tar.gz timeline-671590b071cccfb889e68c3f74581fcf15a02921.tar.bz2 timeline-671590b071cccfb889e68c3f74581fcf15a02921.zip |
Add cache for timeline post data.
Diffstat (limited to 'Timeline/Controllers/UserAvatarController.cs')
-rw-r--r-- | Timeline/Controllers/UserAvatarController.cs | 1 |
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;
|