Caching is not working properly in Cloudfront

0

Although I enabled caching, I put it to the test in gtmetrix with the slow opening of my site and found that the files in Cloudfront do not have caching time. ss1 ss2

uurcan7
已提問 2 年前檢視次數 976 次
1 個回答
0

Two things to check:

  • Ensure that the cache settings in CloudFront have not been set to zero - it is possible to override the default action (see the next point).
  • CloudFront honours the cache headers as sent by the origin. So if the origin specifies zero (or little) cache time, that's what CloudFront does.
profile pictureAWS
專家
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南