Patrick Hiesel 05e7f30810 Start caching top-menus and version
We want to reduce QPS to Gerrit where easily possible. The framework for
this is already in place: On every Response, we can set caching.

We don't want caching to impact users by showing them stale data that is
in the critical path of their work. For admins, this is slightly more
acceptable.

To start with, we cache /server/version (30s) and /server/top-menus
(300s). These only change if Gerrit gets upgraded or plugins that
contribute top-menus reload.

Change-Id: I33ef5792bffba79bde5d7e7dda6b4291f2db9cc7
2019-03-08 13:09:22 +01:00
..
2018-12-21 13:54:37 -08:00
2018-11-13 15:06:26 -08:00
2018-08-14 08:07:59 +02:00