Commit graph

3 commits

Author SHA1 Message Date
Kevin Fenzi
3e9626416c proxies: fix ETag handling for pkgdb json file
We maintain a static json file for gnome-software (and others) that
tells them when new releases are available. This file gets downloaded a
LOT. Right now because this file is spread out on all our proxies and
the default ETag uses MTime in it, they all return different ETag
values, making it impossible to use ETags to not have to re-download the
file. Setting it to use just Size and Digest for this file means all the
proxies will have the same ETag and gnome-software can see that and not
download the file over and over if it's not changed.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-10-20 18:45:24 +00:00
Rick Elrod
3b7612b474 Use AliasMatch since we also need to support a trailing slash
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-07-10 03:35:18 +00:00
Rick Elrod
b5630188ea Move the gnome-software endpoint to be a static file on proxies
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-07-10 02:14:35 +00:00