0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-21 23:21:08 +01:00
gitea/modules/public
Morgan Bazalgette 17655cdf1b Enable caching on assets and avatars (#3376)
* Enable caching on assets and avatars

Fixes #3323

* Only set avatar in user BeforeUpdate when there is no avatar set

* add error checking after stat

* gofmt

* Change cache time for avatars to an hour
2018-02-04 00:37:05 +02:00
..
dynamic.go Enable caching on assets and avatars (#3376) 2018-02-04 00:37:05 +02:00
public.go Enable caching on assets and avatars (#3376) 2018-02-04 00:37:05 +02:00
static.go Enable caching on assets and avatars (#3376) 2018-02-04 00:37:05 +02:00