As we can use cloudfront for http cache / shared cache / as cdn. cloudfront can cache based on Cache-Control headers received from origin (response headers) But when I pass Cache-Control : no-cache as request header, I am still getting response from cloudfront where as, for HTTP cache it should hit the origin to get the response. I have set the minimum TTL setting to 0. Is there any way we can handle this behaviour with cloudfront ?
no-storehere, but when you say pass do you mean sending it in the request? That cache-control header should be set in the response in your origin, not by the requester.