For the apps folks, I just found this:
https://phabricator.wikimedia.org/T100262
Seems like it is possible to cache api requests by adding:
- maxage (tells client to cache for a period in seconds) - smaxage (tells varnish to cache for a period in seconds)
I thought you may benefit from adding some of these on the apps api queries if you are not already doing it.
Cheers