Cloudfront page invalidations not working

0

We have used Cloudfront in conjunction with a WordPress site for a few years. Page invalidations have worked fine in the past. But not any more.

As of today, if we create a new post, it is appearing on Cloudfront. So that's fine. However, users wouldn't be able to find it because the Home Page and all category pages are not updating.

We tried invalidating the pages (and whole site) but it still shows stale indexes. This puzzles us. We'd expect either: a. it to refresh and show the same updated page as displayed on the origin or b. if something is broken, to show the page as broken

If it's showing stale pages this implies it is not invalidating the page?

Yesterday we updated to WordPress 6.3. However, the origin works just fine. The issue is only on Cloudfront.

After this issue appeared we changed the WP plugin from the old AWS official one to the new WP Admin CDN. No change.

Any ideas? Anyone else having problems? Many thx.

nm01
질문됨 9달 전511회 조회
2개 답변
0

Hello.
Did you do the following so that all caches can be deleted?
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html

"/*"

Also, have you deleted your browser cache?
It is also possible that there is some cache left on the origin web server, so please try restarting the web server.

profile picture
전문가
답변함 9달 전
  • Thanks so much for responding. I tried all this before and again following your email. And did not see any change.

    However, in the last 30 minutes or so it just starting working again.... And it is working properly as I tried another update on the origin and that propogated to the Cloudfront CDN.

    Which makes me suspect perhaps it was an AWS issue that was resolved. Maybe....

    Anyway. Problem solved. For now.

0

Hi There, I'm having the same issue but worse my CSS style sheets aren't rendering on CloudFront> Basically when I use my CloudFront link - https://xxxxxxxxx.cloudfront.net, my website it not rendering properly, therefore unable to use Cloudfront now. Can you please help in determining why CloudFront won't render my static website properly?

C-style
답변함 8달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠