cchecksapi
cchecksapi copied to clipboard
Consider Redis caching for some routes
in particular for
"/pkgs (GET)",
"/pkgs/:pkg_name:/history (GET)",
"/pkghistory (GET)",
"/maintainers (GET)",
"/maintainers/:email: (GET)",
as these can have large payloads, and could be cached to minimize response time
Ideally: check if the cache should be deleted if there's been a recent cron job run resulting in new data for whatever the query is.
just TTL it