0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 14:24:40 +01:00
gitea/routers
silverwind 0615b668dc
HTTP cache rework and enable caching for storage assets (#13569)
This enabled HTTP time-based cache for storage assets, primarily
avatars. I have not observed If-Modified-Since from browsers during
tests but I guess it's good to support regardless.

It introduces a new generic httpcache module that can handle both
time-based and etag-based caching.

Additionally, manifest.json and robots.txt are now also cachable.
2020-11-17 17:44:52 -05:00
..
admin Add email validity check (#13475) 2020-11-14 11:53:43 -05:00
api/v1 Add email validity check (#13475) 2020-11-14 11:53:43 -05:00
dev
events
org Add markdown support in organization description (#13549) 2020-11-15 16:28:08 +00:00
private
repo Fix label display on new issues (#13590) 2020-11-17 07:02:41 +02:00
routes HTTP cache rework and enable caching for storage assets (#13569) 2020-11-17 17:44:52 -05:00
user Add email validity check (#13475) 2020-11-14 11:53:43 -05:00
utils
home.go
init.go
install.go Use mount but not register for chi routes (#13555) 2020-11-16 15:33:41 +08:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go