feat: cache rss feedgen for 5 minutes

The RSS feed should be perfectly fine even when caching them for 5
minutes. This should massively reduce the response times on the
endpoint.

Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
This commit is contained in:
Levente Polyak 2024-08-03 02:54:55 +02:00
parent 33d31d4117
commit a5b94a47f3
No known key found for this signature in database
GPG key ID: FC1B547C8D8172C8
3 changed files with 29 additions and 5 deletions

View file

@ -175,3 +175,5 @@ max_search_entries = 50000
expiry_time_search = 600
; number of seconds after a cache entry for statistics queries expires, default is 5 minutes
expiry_time_statistics = 300
; number of seconds after a cache entry for rss queries expires, default is 5 minutes
expiry_time_rss = 300