Language and library reference pages very slow to load

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Aug 19 10:32:36 PDT 2013


On Mon, Aug 19, 2013 at 09:21:58AM -0700, Andrei Alexandrescu wrote:
> On 8/18/13 10:28 PM, H. S. Teoh wrote:
> >On Mon, Aug 19, 2013 at 06:42:04AM +0200, finalpatch wrote:
> >>Apparently the javascript that's responsible for creating hyperlinks
> >>runs very slowly, usually several seconds or longer.  eg.
> >>http://dlang.org/phobos/core_memory.html is so slow it causes
> >>Mozilla Firefox to pop up the page not responding box.  I have also
> >>tried Internet Explorer 10 on Windows 7 and Safari on Mac OS X
> >>10.8.4 and got similar results.
> >>
> >>I wonder if it's possible to move this to the server side given the
> >>documents are mostly static contents.
> >
> >My guess is that this is caused either by hyphenate.js or
> >hyphenate-selectively.js, both of which, thankfully, will be going
> >away once dlang.org is updated (their removal has already been merged
> >into git HEAD).
> 
> Wasn't JS hyphenation only removed for browsers that support
> hyphenation at CSS level?
[...]

If that's the case, then it should be completely removed. Let CSS
hyphenation take care of the case where browsers actually support it.
Please, *please* let's not go back to JS hyphenation. We've gotten
nothing but an endless stream of complaints about it over the last
couple o' months (or more). People are having trouble browsing dlang.org
because it's either too slow, or their browsers pop up warnings about
long-running scripts, and all for what? Some textual cosmetics? What a
perfect way to turn people off D.


T

-- 
If it breaks, you get to keep both pieces. -- Software disclaimer notice


More information about the Digitalmars-d mailing list