I'd like to cache the api responses in Cloudfront to reduce the load on your servers. However as you don't include cache information in your headers (e.g. expiry or ETag) this is not possible. I assume your data updated periodically. If you supported ETag and 304 responses to the API then customers could cache data locally and reduce the load on your servers.
Be the first to post a reply!