Piwigo-Mobile icon indicating copy to clipboard operation
Piwigo-Mobile copied to clipboard

optimize calls to pwg.images.getInfo

Open plegall opened this issue 7 years ago • 1 comments

I see in my logs that the mobile app calls API method pwg.images.getInfo many times when opening the root album. I think there are as much pwg.images.getInfo requests as images representing albums. If the albums list is huge, it may lead to a huge amount of API requests.

Would you like to Piwigo to have parameter image_id (on pwg.images.getInfo method) to be a list (optionnaly). This way you could have a single API request, whatever the number of albums.

plegall avatar May 14 '18 12:05 plegall

That would indeed be extremely useful. Thank you for the suggestion.

EddyLB avatar Aug 07 '18 19:08 EddyLB