GIDForums  

Go Back   GIDForums > Computer Forums > Computer Software Forum - Linux
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 30-Apr-2003, 23:12
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough

Web pages designed for prefetching


Mozilla v. 1.3b

Under...
Code:
Edit -> Preferences -> Advanced -> Cache
there is an option;
Quote:
Link Prefetching

Prefetch web pages when idle, so that links in web pages designed for prefetching can load faster.

... links in web pages designed for prefetching - anyone has an idea what that means?

By the way, this is my first post using Linux + Mozilla 1.3b.
  #2  
Old 01-May-2003, 09:15
jrobbio's Avatar
jrobbio jrobbio is offline
Regular Member
 
Join Date: Jan 2003
Location: Loughborough, England
Posts: 840
jrobbio will become famous soon enough
Check out http://www.mozilla.org/projects/netl...ching_FAQ.html
Quote:
What is link prefetching?
Link prefetching is a browser mechanism, which utilizes browser idle time to download or prefetch documents that the user might visit in the near future. A web page provides a set of prefetching hints to the browser, and after the browser is finished loading the page, it begins silently prefetching specified documents and stores them in its cache. When the user visits one of the prefetched documents, it can be served up quickly out of the browser's cache.

  #3  
Old 01-May-2003, 09:28
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
I figured that out... I meant how does one get their web pages designed for prefetching?
  #4  
Old 01-May-2003, 09:37
jrobbio's Avatar
jrobbio jrobbio is offline
Regular Member
 
Join Date: Jan 2003
Location: Loughborough, England
Posts: 840
jrobbio will become famous soon enough

Prefetch Sample Code


Here's somewhere to start:
http://devedge.netscape.com/viewsour...k-prefetching/

Its got a narrowband example for those on a modem.

Seems to be that it will work for Mozilla 1.2+, Netscape 7.01 and Opera 7 with IE completely behind the times. I'm sure there is something like it in IE though.

Here's an example of the code

HTML Code:
<link rel="next" href="http://www.example.com/reallybigpic.jpeg"> <link rel="next" href="http://otherdomain.net/images/the_next_page.html">
From what I have read, there is a problem with dynamic sites using link rel because urls with query strings are not prefetched.

There is another way of doing it though although it doesn't seem to be W3C standards compliant

HTML Code:
<meta HTTP-EQUIV="Link" CONTENT="<mission/index.html>; rel=prefetch"> <meta HTTP-EQUIV="Link" CONTENT="<people/index.html>; rel=prefetch"> <meta HTTP-EQUIV="Link" CONTENT="<research/index.html>; rel=prefetch"> <meta HTTP-EQUIV="Link" CONTENT="<teaching/ugrad/index.html>; rel=prefetch"> <meta HTTP-EQUIV="Link" CONTENT="<teaching/grad/index.html>; rel=prefetch"> <meta HTTP-EQUIV="Link" CONTENT="<extension/index.html>; rel=prefetch"> <meta HTTP-EQUIV="Link" CONTENT="<contacts/index.html>; rel=prefetch">
Last edited by jrobbio : 01-May-2003 at 10:17.
 
 

Recent GIDBlogProgramming ebook direct download available by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to reset the text size on Mozilla FireFox JdS Computer Software Forum - Linux 0 30-Oct-2003 04:34
list of the most common keyboard and mouse shortcuts for IE, Opera and Firebird jrobbio Computer Software Forum - Windows 2 04-Sep-2003 10:10
Downloadable document compatibilty issues? rhino1616 Web Design Forum 3 07-May-2003 04:05
Mozilla Views and alternate CSS styles JdS Computer Software Forum - Linux 0 06-Oct-2002 19:24
Mozilla TARGET question nickbeee Web Design Forum 2 03-Aug-2002 04:57

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 03:07.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.