Language and library reference pages very slow to load

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Aug 19 11:01:30 PDT 2013


On 8/19/13 10:32 AM, H. S. Teoh wrote:
> 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.

Well, looks like I missed 
https://github.com/D-Programming-Language/dlang.org/pull/367.

Andrei




More information about the Digitalmars-d mailing list