Browse API Reference

Caching

Reuse windows for every GymAssets response, and how long a theme change takes to appear.

Every response states how long it can be reused in its cache-control header. After a key’s theme changes, images may show the previous palette for up to two minutes.

Cache windows

Responsecache-control
Musclegram renderpublic, max-age=60
Equipment artworkpublic, max-age=3600
Exercise artpublic, max-age=3600
Exercise art silhouettepublic, max-age=300
Image-host cataloguepublic, max-age=300
Data APIprivate, max-age=300

Theme change delay

Musclegram images keep the same URL when a key’s theme changes. The new palette appears within two minutes.

Shared caches

Data API responses are marked private. They answer for one account, and a shared cache or proxy must not serve one account’s response to another.

This applies to catalogue responses as well. They are public data delivered over an authenticated request, and the credential boundary is what marks them private.