MediaViewer 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, 5 minutes) should still be okay, and could decrease the load from a popular article significantly.
See also: