A friend told me you could preload pages using java script...
Can anyone show me or give me a link where i could find out how this is done and how to impliment it on a website..
Thanks
| SitePoint Sponsor |
A friend told me you could preload pages using java script...
Can anyone show me or give me a link where i could find out how this is done and how to impliment it on a website..
Thanks


This might answer your question, but I haven't seen it done myself other than by hiding the Div: http://forums.devshed.com/archive/1/2001/05/4/15381
"If something is too hard,give it up. The moral my boy is too never try anything"
"Just because I don't care doesn't mean I don't understand"
Those so-called "Net-Accelerator" programs of yesteryear did this.
They claimed to speed up your internet connection speed, but all they really did was cache pages linked to by the one you were currently viewing. In essence, they used the available (unused) bandwidth while you were looking at the current page to download and cache all the connecting pages. Then when you clicked a link, the program would serve up the recently cached version, and not hit the server. Not a bad idea, really. Too bad they can't possible predict what you'd want, so a page with many links would be caching for minutes. Imagine if everyone used this software? Internet traffic would surge, page statistics would be erroneous, and all sorts of other problems. It's not hard to see why these programs don't really exist anymore.
That being said, I agree with rabmurdy, there's no direct way to cache pages, you'll need some sort of workaround.
Bookmarks