Hi. I'm currently fetching configuration to get all image sizes so I can render them properly. I'm wondering if I could avoid that API call and just save a copy locally, less API calls is better for loading speed. Is it a good idea or are those values changing over time? I'm also fetching movie/tv genres list. Is it the same case as the configuration?
Thanks :)
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 6 août 2024 à 10h44
You can certainly cache it locally and maybe check it once a day/week or something. The data does not change very often, so that's a safe decision.
Réponse de ticao2 🇧🇷 pt-BR
le 6 août 2024 à 12h10
Image sizes are here:
https://developer.themoviedb.org/reference/configuration-details
Genres are here:
https://developer.themoviedb.org/reference/genre-movie-list
https://developer.themoviedb.org/reference/genre-tv-list