API Gateway Caching vs CloudFront
问题 I'm a bit confused by how API Gateway and CloudFront work together. Ultimately, I want to be able to have a custom header and value be considered part of my cache key. I know this can be done by whitelisting (if I'm using CloudFront). So when I make the following request: GET /pagesRead/4 Some-Header: fizz This returns, for instance, '29 pages' Then there's a post that updates id 4 to '45 pages' If I make this request GET /pagesRead/4 Some-Header: buzz It will now return '45 pages' But I'm