How to refresh or reload a page in jquery mobile?

Why does sometimes stopping a page load and then refreshing it help load the page faster?

  • It has happened since we had IE that when a page isn't loading, maybe due to laggy internet connection, you stop the page load and then refresh it. Why does it help especially if the internet connection itself picked up speed during the first load but couldn't load the already loading webpage? You have to stop it and then reload it. Why?

  • Answer:

    What usually is dubbed as a laggy connection when talking about browsers is one where the connection likes to drop HTTP responses every now and then. The connection isn't actually lagging, packets go through at the same speed -- however some packets just get dropped. In this case, your browser waits for a long time for the response to come through. It doesn't, which leads to it lagging until timeout. When you refresh, most of the resources that did manage to load have been cached so they don't need to be requested again. You are making fewer requests, so you get fewer responses. It's less likely that one will get dropped here.

Manish Goregaokar at Quora Visit the source

Was this solution helpful to you?

Other answers

I agree with , When you load page for the first time, the javascript files,pictures will be cached and later the browser uses those files while loading,instead of getting from the server. You can test by doing following : Load a page Load the page again (You feel it lesser time ) Now Delete the cache( In chrome : Settings > Tools > Clear Browsing Data or Simply Ctrl + Shift + Del ) Now the load the page again ( You feel again as like step 1 ,taking long time than that of second step)

Madhu Sudhan

Most people don't realize how much copying occurs in networking. My friend Terje Mathisen has a noted saying that about 80% of the problems in computing boiling down to issues of caching (which he uses in his .sig file). (In part this is why the advocates of circuit switching tell the packet switchers "I told you so").

Eugene Miya

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.