fix: /rss lazy load issue & perf improvements
Some fixes for the /rss endpoints
-
Load all data in one go:
Previously data was lazy loaded thus it made several sub-queries per package (> 200 queries for composing the rss data for a single request).
Now we are performing a single SQL query (request time improvement: 550ms -> 130ms).
This also fixes aurweb-errors#510 and alike -
Remove some "dead code":
The fieldssource,author,linkwere never included in the rss output (wrong or insufficient data passed to the different entry.xyz functions).
Nobody seems to be missing them anyways, so let's remove em. -
Remove
Last-Modifiedheader:
Obsolete since nginx can/will only handleIf-Modified-Sincerequests for static files in it's current configuration.
All requests are passed to fastapi anyways.