1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/modules/public
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
..
dynamic.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
public_bindata.go Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
public.go HTTP cache rework and enable caching for storage assets (#13569) 2020-11-17 17:44:52 -05:00
static.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00