[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Faster WebHelp XSL
Indeed the TOC tree (which very big in our case) is still there in
each page, so dynamic loading would be an improvement for sure. With
this patch, there are a lot more HTML elements with "id" attributes
so maybe it takes more time to find back the one you want. I didn't
notice any particular slowness though. Maxime Bégnis Le 01/10/2013 23:17, Jirka Kosek a
écrit :
On 1.10.2013 19:24, David Cramer wrote:This sounds great! It should help performance in the browser as well. I'll give it a shot.Regarding browser performance -- I haven't studied patch very carefully but if understand correctly it still puts ToC into each HTML page. This can make pages really large. Another possible approach is to store ToC into a separate file and load it dynamically -- either as a script or using AJAX. This can significantly decrease loading time, but parsing ToC from some JS structure will take some time for larger documents. Jirka --
--
NeoDoc
Maxime
Bégnis
Tél: +33
(0)4.42.52.24.20
5, rue de la Touloubre
13770
Venelles
France
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]