Skip to content

file won't update

0

I just updated one of my website's htm files. I uploaded this new file to my S3 folder but I'm not seeing the changes when I check my website. The file on AWS shows that the file date is new, today's date, but the website is still showing the old page before the latest changes. What's going on?

Also, I noticed at the address bar my Amazon website says "not secure", shouldn't this say "secure"? I joined AWS for reliability and security.

asked 3 years ago524 views
3 Answers
1

Hi - If you are using static website from S3, then Amazon S3 website endpoints do not support HTTPS or access points. If you want to use HTTPS, you can use Amazon CloudFront to serve a static website hosted on Amazon S3. For more information, see How do I use CloudFront to serve HTTPS requests for my Amazon S3 bucket? To use HTTPS with a custom domain, see Configuring a static website using a custom domain registered with Route 53. Further if you are using a cache in your case, then check the TTL or else invalidate the cache.

Reference : https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteEndpoints.html

AWS
EXPERT
answered 3 years ago
EXPERT
reviewed 3 years ago
1

Internet browsers normally include the capability of caching pages in order to make your internet browsing a quicker experience. The problem that occurs is that sometimes you visit a page where a change has occurred and it does not appear because you’re seeing the old cached version that your browser stored. This can be easily fixed by simply clearing the browser cache.

Run the browser in incognito mode. When you first open an incognito window, a new temporary folder is created to hold your cache. Previously-cached browser data is not used in the incognito window. When you close the window, the temporary cache is deleted.

AWS
answered 3 years ago
0

Thanks for the tips. I copied the link and and tried it in two other web browsers, MS Edge and Brave, no difference. For some reason, this one htm file will just not update in the AWS S3 folder.

I have this identical webpage on another webhost, Award Space, and the new htm file uploads just fine and the latest changes are there. It takes me to the correct link in my webpage when I click on the link.

Any thoughts? Should I delete everything and re-upload?

answered 3 years ago
  • If file is not getting updated last option as you said delete everything and re-upload. That should refresh everything.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.