'OkHttp3 Is it possible to use cache regarding only parts of api call?

I have an api call like this

@GET("getplayerbatchJson/{devID}/{signature}/{session}/{timestamp}/{playerId}")

The signature and timestamp parts are never the same but api return the same data if user calls it twice in a row. So I don't want to make the call twice and use some cache. But how can I use cache only regarding getplayerbatchJson and playerId parts ? Is it possible with a network interceptor ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source