Cloudfront distribution out of date

0

Hello folks, I´m getting troubles with my Cloudfront distribution and I suppose that it´s out of date, since I´m not receiving the same answer than specified origin. I mean, the Load Balancer environment is giving me the right answer (I test it directly) but something is happening with the Cloudfront distribution and it seems to be out of date because the old answer is all what I´ve got from it. Thanks in advance for your support.

feita há um ano215 visualizações
1 Resposta
1
Resposta aceita

What's your CloudFront TTL? If the object is already cached at the edge location, and after that you've updated the source, the old version of the object at the edge location will carry on being served until the TTL is reached https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html

You can invalidate the cached object and force the new version to be retrieved from the source into the cache https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html

profile picture
ESPECIALISTA
Steve_M
respondido há um ano
profile picture
ESPECIALISTA
avaliado há um ano
profile pictureAWS
ESPECIALISTA
avaliado há um ano
  • Thanks buddy, it works exactly as you explained before. I've disabled the cache now, so that no more issues like that should appears. Thanks a lot for your support and soon reply.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas