Menu

#1 Speed up download of indexes.

Functional
open
nobody
Javascript (3)
7
2001-07-16
2001-07-16
No

Various methods exist, notably browsers don't start
rendering the text until they read the </SCRIPT> tag,
so what should really happen is every 25 or so index
entries it closes the script block then re-opens it.

Another suitable optimisation would be to leave the
index "engine" in a separate javascript file, and call
that file. As this file doesn't change, it can stay in
the browsers cache, and may possibly speed up the
redrawing of the page. Certainly on those sites that
use this script a lot, you can reduce the size of your
files by having the javascript engine in a separate
file.

Discussion


Log in to post a comment.