Forum Moderators: phranque

Message Too Old, No Replies

Pre-load page in background

Trying for near-instant navigation

         

MatthewHSE

4:18 pm on Jun 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm working on setting up a "Site Tour" where each page in the tour sequence only has two links - one link to the next page, and one link to the previous page. In order to speed things up for the users, I'd like to preload the "next" page somehow while they're reading the current page. That way, when the click "next," the page will already be downloaded to their cache and will only need to be retreived and rendered from there.

I'd heard that the <link> tag can do this, but I've been experimenting with it and so far haven't had any success. Are there any other methods of pre-loading a webpage?

Thanks,

Matthew

danieljean

7:06 pm on Jun 21, 2004 (gmt 0)

10+ Year Member



One of my team members had a similar idea, although we were only worried about pre-loading images.

Since images are most of the bandwidth used, you'll see most of your results with that alone.

MatthewHSE

7:20 pm on Jun 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, but the page being linked to will include up to three server-side includes, so the server processing time itself is more significant than would usually be the case. I was hoping for that response time to be spent while the visitor was simply reading the previous page.

iamlost

7:29 pm on Jun 21, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



In your links experiments did you try:

<head>
<link rel="previous" href="chapter4.html" />
<link rel="next" href="chapter6.html" />
</head>

<body>
<a href="chapter4.html">previous</a>
<a href="chapter6.html">next</a>
</body>

For list of link types:
[w3.org ]