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
gefragt vor 2 Jahren976 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen