Hi @FrostbyteApps,
There isn’t an exact number of seconds you need to cache the JWKs, as stated in this post:
JWKs will return the same set of keys most of the time, so you can just cache them and keep using them and if they get denied you can request them again.
If you have any other question feel free to reach out.
Have a good one,
Vlad