Cache custom request headers

My android app is sending App-Version and it’s value in headers to my API server. On particular API endpoint reads headers and sends response back based on App-Version. Let’s say this one is api.example.com/remote-config . My remote config values are different for different versions, but do not change frequently. They change one time in two days hardly.

How to write cache rules based on headers ?

I guess it’s JSON format or? :thinking:

May I ask if you’d like to cache it, or rather not?
We could use Cache Rules, or Transform Rules to add wanted HTTP headers for this case.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.