Home > General > Affiliate Marketing Forum

Landing page not updating changes in Amazon S3 (5)


05-23-2018 02:22 PM #1 ltdx79 (Member)
Landing page not updating changes in Amazon S3

Hey everyone,

I just tried making changes to my landing page, and I reuploaded the index.html file to Amazon S3.

When I open the index.html file using the https://s3.amazonaws.com link it works fine, but when I use my domain name it doesn't show the changes I've made.

Is there any way to clear cache in S3 or fix this? I tried clearing my browser cache or accessing from my phone but still no change.

Thanks!

Edit: I am using NS1 and Cloudfront also.


05-23-2018 02:51 PM #2 panicore (Member)

The caching is done on Cloudfront. You need to purge the data from the cloudfront cache or upload the file under another name.

https://docs.aws.amazon.com/AmazonCl...alidation.html


05-23-2018 07:37 PM #3 diplomat (Member)

Cloudfront caches your data and those files have TTL (time to live) of the object in S3. Once TTL is over, CF will update files.. So you have a choice to wait or purge CF's files. It can be a slow process and super annoying. So what you should do is first develop your LP using your S3 URL and once you are happy.. switch to CF and use CF link in your campaigns. That way you don't need to worry about caching etc.


05-23-2018 09:57 PM #4 ltdx79 (Member)

Thanks for the suggestions guys, I'll do what you recommend and try that.

Sent from my Nexus 6P using Tapatalk


05-24-2018 12:54 PM #5 osmiumman (Member)

I use the S3 Browser.

There you can right click the file/folder -> Cloudfront -> Invalidate selected files.


Home > General > Affiliate Marketing Forum