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 :)
找不到电影或节目?登录并创建它吧。
Travis Bell 的回复
于 2024 年 08 月 06 日 10:44上午
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.
ticao2 🇧🇷 pt-BR 的回复
于 2024 年 08 月 06 日 12:10下午
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