On enwikiMediaViewer caches most of its API calls but it does not cache calls to the `imageinfo` API. This was originally due to concerns about editors getting outdated content, but caching for a short period (say, logged out5 minutes) should still be okay, I'm seeing Media Viewer issue API requests like this one:and could decrease the load from a popular article significantly.
For some reason ImageInfo doesn't set a maxage parameter:
A day might be excessive for that particular call, since editors won't see their changes, but no caching at all is also extreme.
This is definitely an argument in favor of T116840----