Hi!
Let me first describe the feature:
We have a leaderboard filled with data comming from GetLeaderboard.
When the user clicks on an entry we want to show a pretty complete and complex player profile, with different info that needs to be calculated from playerData, readonlyData, and statictics.
The approach would be to call a cloudscript that uses GetPlayerCombinedInfo to retrieved all needed data, processes that and returns a JSON with what we need.
This would cost some extra calls to our game, cause we have a GetPlayerCombinedInfo call made in that cloudscript each time a user wants to see a profile. That's why we are thinking of implementing a cache that holds the generated JSON for some time (each entry of the cache is valid for 5-10 minutes), so even if multiple players try to see the no.1 player, that profile gets calculated only once each 5-10 mins.
1 - How big can that cache be? Is there a limit from playfab? I couldn't find the answer in the "playfab limits" section of the docs.
2 - Is this a good solution? How are you people approaching this?