myom
myom

Reputation: 135

Amazon S3 Upload Lag

I recently started hosting a site on S3, and I've been having issues with lag when uploading files to buckets. By lag, I mean 24 hours. Any idea what's wrong? I followed AWS' guide to hosting a static website. From some research, it may have something to do with Cloudfront not working properly?

P.S. I'm new to AWS and website-hosting in general.

Thanks, Mike

Upvotes: 1

Views: 882

Answers (1)

Damian Nikodem
Damian Nikodem

Reputation: 1289

I would have to say that this is due to 'cache' times for s3/cloudfront. if you upload a file with a brand new filename then navigate to the URL does it appear immediately? The large benefit of something like S3 any other CDN really is that it is for data that isn't supposed to change so its setup in such a way as to minimize browser requests for it where possible.

Try editing your site in a different enviroment and then uploading it to S3 once it is completed. it will save you a lot of frustration

Upvotes: 1

Related Questions