I'd recommend measuring some non-main-pages as well; that JavaScript
payload seems to be reduced by about half if you load some other random
page on Commons.

It looks like TimedMediaHandler is loading a lot to initialize a video that
might never get played, for instance, while it never gets loaded on a page
that doesn't include a video on it.

-- brion




On Tue, Sep 24, 2013 at 10:19 PM, Erik Moeller <[email protected]> wrote:

> Ori Livneh has created a nice dashboard that regularly polls the Main
> Pages of a few of our projects to break down the amount of JavaScript
> (and other static assets) that's loaded for an anonymous pageview of
> the Main Page:
>
> https://ganglia.wikimedia.org/latest/?r=week&cs=&ce=&tab=v&vn=Static+assets
>
> Commons currently loads more than 1MB of JavaScript. This is too much,
> which negatively affects performance for our end users. Some of this
> is on WMF -- JS code we've deployed that we can optimize. But it would
> also be good to get community help with auditing site JS and gadgets
> that are loaded by default and that can be reduced in complexity,
> loaded only when needed, etc.
>
> We'll aim to provide better debugging tools to the community in future
> but wanted to point this out in case anyone already wants to take a
> closer look.
>
> Erik
>
> --
> Erik Möller
> VP of Engineering and Product Development, Wikimedia Foundation
>
> _______________________________________________
> Commons-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/commons-l
>
_______________________________________________
Commons-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/commons-l

Reply via email to