Cache the private keys for less overhead when signing messages
@andrei-m-code gentle ping :-)
Thank you @danielgindi please allow me some time to assess. I'm away for a couple of weeks, will try to get to it when I can
@andrei-m-code This just celebrated its 1 year anniversary lol
@danielgindi hey there! I just went through the code to celebrate the anniversary :), it seems like this has not much benefit as of today because for ApnSender we cache tokens per app bundle for 50 mins and for Firebase we do the same, we cache master token for an hour, so adding private key caching doesn't add a lot of perf benefit, given we already do what I've outlined above.
You are correct, I missed that. Thank you!