flutter_wordpress icon indicating copy to clipboard operation
flutter_wordpress copied to clipboard

Featured Images are fetched with multiple API calls

Open 2shrestha22 opened this issue 5 years ago • 0 comments

The REST API already supports adding the query param ?_embed to the URL and the response will then include all “embedded media”, including the featured image but this library call API multiple times to fetch the featured image. May be you are getting featured image from media ID. This process takes so much time and is not good for user experience.

If featured image source url can be fetched in a single API call performance will be much better.

Or if I am unaware, how can I get post lists with featured image without waiting for a long time. It usually takes 5 - 8 seconds to load 10 list of posts with featured image on.

2shrestha22 avatar Nov 11 '20 03:11 2shrestha22