Caching
Caching is used in most cases to reduce strain on the MotorPress API service. Almost all responses are cached for a few minutes. Some features of the API can be used to manipulate media responses. In these cases, responses will always be cached for a longer period. The minimum cache duration is 5 minutes, but this may scale up to 30 minutes depending on the content.
The API will make use of the Cache-Control
header to present details on how the cache works.