Re: Re: working sample
| From: | Gabor Hojtsy | Date: | Tue, 03 Sep 2002 22:35:08 +0000 |
| Subject: | Re: Re: working sample | ||
| References: | 1 2 3 4 | Groups: | php.doc.chm |
| Request: | Send a blank email to php-doc-chm+get-467@lists.php.net to get a copy of this message | ||
> > We can include a JS file in the user note CHM containing a list of files
> > inside the CHM, and we can load in that JS file every time for every
page.
> > Currently we have ~1200 files in the notes CHM with varying file name
> > lengths. I don't know how this would affect speed, but we can turn to
> > use this method if IE6 is detected, and use the old method (which is as
> > far as I can think of it now is faster) if the UA is not IE6. This seems
> > to be a sensible workaround... Other thoughts? Before I implement this
:)
>
> Goba, you may be able to significantly speed up the process of doing this
if
> instead of listing the existing files or the existing and non existing
> files, only list the non-existing files. how many non-existing files is
> there?
Listing files without user notes is the same as adding files into the
user notes CHM with zero size. The problem is that you cannot be sure
what is the list of HTML files in any of the CHMs. BTW we can split
the JS into to pieces, one from A-K and the other from L-Z for example
if the size gets bigger. This would only be used with IE6 browsers, so
other's won't feel any speed decrease (hope IE6 users wont feel it too ;)
BTW there are more files without notes than with notes. The number of
HTML files is in the manual CHM is ~3000, the number of HTML files is
the notes CHM is only ~1200. So the list would be bigger with the files
without notes...
Goba