CloudFront URL taking longer time in specific wifi connection

0

When I connect my mobile with OPPO A15 hotspot the cloudfront CDN urls are laoding late(25 seconds). The URL loads well in other wifi connection. At the same time other application such as Instagram and Youtube runs well in that OPPO A15 hotspot as well as random URL form internet loads well in that OPPO A15 hotspot connectivity.

I don't know whether it is Glide library problem or Hotspot problem or URL problem.

1 Answer
0

In short, I don't think there's much that we can suggest here other steps to determine where the extra time is being taken.

There are several things that happen during page load:

  1. The browser/operating system does a DNS lookup for the website. This resolves to CloudFront. Part of this process is determining the closest CloudFront point of presence (POP).
  2. The ISP/internet routes the traffic to the POP.
  3. The browser sets up a TCP session which might be for HTTP (port 80) or HTTPS (port 443).
  4. If using port 443 the encryption parameters are negotiated.
  5. The browser requests the resource (the initial page) from CloudFront.
  6. If the resource is not in cache it is retrieved from the origin.
  7. The browser then repeats this process (steps 1-6) for all other resources that are specified in the initial page.

All of these things take time and additional time at each step can add up very easily. It's possible that JavaScript libraries may do additional work during steps 2-6.

You can troubleshoot the time take for (1) using nslookup or dig. You may need to clear the DNS cache on your hotspot or computer in order to do a valid test. Steps 2-6 can be tested using tools such as curl or wget. By testing on various networks and with different computers you may be able to determine where the problem is and go from there.

profile pictureAWS
EXPERT
answered a year ago
  • The problem was in IPv6 when I truned of it in cloudfront it worked fine.

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.

Guidelines for Answering Questions