Why do web pages that are taking forever to load suddenly load if you reenter the URL
GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why do web pages that are taking forever to load suddenly load if you reenter the URL
Just curious about this because it happens at least once every other day. I start up a web browser. I type in the URL. The wheel spins forever. It spins so long I think maybe my internet connection is out. I click in the URL field and hit enter again. The web page appears suddenly. Like not even a second to load - just instantly there.
Many times, if the pages contain advertisements, the ads are hosted on a remote site from the one you are loading and the issue is that the page is waiting for the ads to load. When you go to reload the page, a lot of its contents are already cached.
No idea if this is what is going on here, but it's quite a common phenomenon.
You have to factor in that while it was taking forever to load, it was really filling up the page - and thus the cache (but not completely) and so the next time, (when you re-enter) it finds mostly everything in cache and so loads quickly.
This is difficult to prove but I think we can check it out by trying various cache settings.
Secondly, it could be that in large pages, there is some genuine external but transient delay. Again, difficult to check.
this is a connection problem, one-time packet loss, which the software does not handle correctly. If a package is lost, some software layers may remain waiting for it, never realizing it is lost. If you click again, all packages arrive just fine and the page loads fast.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.