Cloud-front backed with Nginx (which proxies to S3) randomly missing already cached items? Cloud-front backed with Nginx (which proxies to S3) randomly missing already cached items? nginx nginx

Cloud-front backed with Nginx (which proxies to S3) randomly missing already cached items?


After about 4 months of repetitive to-n-fro with amazon support failed to resolve the issue.

All problems still persisting:

  • The cache expires in about a day and misses after 24 hours. ( My expiry is 1 year )

  • All headers and aws settings verified by amazon support themselves

  • Unfortunately, the company is still paying for this awful experience due to lockin.

enter image description here

------ After 24 hours ------

enter image description here

------ After 24 hours ------

enter image description here

------ After 24 hours ------

enter image description here

-------- And so on.. -------

Concluding, The problem still stands unresolved and amazon support seems to have given up. This is quiet a strange experience since aws is something we generally take for granted.

:(


Checking the 2 IPs you listed in AWS forum when you run dig resolver-identity.cloudfront.net:

74.125.190.17 is from Google in CA, USA   67.215.80.11 is from OpenDNS from Singapore

Are you using OpenDNS or Google DNS? If you are, can you try to disable them and see if CloudFront will work properly from then on?

There is an article here talking about the disadvantage when you using OpenDNS/Google DNS with CDN, which may be helpful. http://apcmag.com/why-using-google-dns-opendns-is-a-bad-idea.htm