Skip to content

Cache radio queryset

Closes #2135 (closed)

The cache expire in 1 hours. I don't think its needed to invalidate it in case the db change, because in big instance we would loose the benefits of the cache. Maybe we could invalidate the cache for querysets that have few candidates (less than 20) ?

to test : curl --user y:y -H "Content-Type: application/json" -X GET "https://node1.funkwhale.test/api/v2/radios/sessions/$sessionid/tracks?count=10"

Edited by petitminion

Merge request reports