I have to wait for 5 to 10 seconds for the browser to update the view of the website after I finish uploading it to the Lightsail instance.

0

I create an instance from Lightsail. 2 GB RAM, 1 vCPU. Usually, if it's a server from other providers (Godaddy, Liquidweb...), whenever I upload a file. I can refresh the browser and see the update instantly. But for the Lightsail instance, I will have to wait for a couple of seconds to see the update. Not sure if I do the config wrong or because Lightsail requires those delays for checking something.

질문됨 일 년 전198회 조회
1개 답변
0

The Lightsail instance is a virtual machine and the software running on it is under the control of the customer. You don't say what web server software you're running nor what content management system you're using but perhaps it takes a few seconds after uploading for that software to process and then make it ready for the browser to access?

profile pictureAWS
전문가
답변함 일 년 전
  • Sorry, I have installed LAMP (PHP 7) and used CodeIgniter, Bootstrap, and jQuery to build a basic website. The code is not anything out of the ordinary, and when I copy it to other servers, it runs instantly except for the server that I created on Amazon Lightsail. I have a client who is also using Lightsail, and I faced the same issue while working on their instance. Whenever I use VSCode to access their WordPress site and modify the custom code part, it takes a couple of seconds for the browser to reflect the changes after uploading. Neither my server nor my client's server use the Load Balancing feature.

  • In that case, I would troubleshoot on the instance to see why it takes time between uploading the content and it being available - there are no other AWS services involved.

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

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

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

관련 콘텐츠