https://bugzilla.wikimedia.org/show_bug.cgi?id=27620

           Summary: Edit toolbar loads siginficiantly slower with the
                    Resource loader or BannerLoader
           Product: MediaWiki
           Version: 1.17
          Platform: PC
               URL: http://pl.wikipedia.org/wiki/no-page-here?action=edit
        OS/Version: Windows 7
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Resource Loader
        AssignedTo: tpars...@wikimedia.org
        ReportedBy: e...@wp.pl
                CC: roan.katt...@gmail.com


Steps:
1. Open an example page (I'm using pl.wiki because you can't edit a page on
en.wiki while not logged in)
2. Reload the page (normal reload).

Results:
Page loads significantly slower then with 1.16.

Expected results:
Should load faster (as RL is on now).

This is more significant in Firefox 3.6 then in 4.0 or in Opera 11, but I can
still start editing before the page is loaded and only when the page is loaded
the toolbar loads. This causes loose of focus and cursor position.

The page loads for about 6-9 seconds (as measured by Firebug) and there are 2-3
gaps in a net tab before loading the following resources:
http://pl.wikipedia.org/w/index.php?title=MediaWiki:Api.js&action=raw&ctype=text/javascript
http://pl.wikipedia.org/w/index.php?title=Specjalna:BannerListLoader&cache=/cn.js&language=pl&project=wikipedia&country=PL
http://meta.wikimedia.org/w/index.php?title=Special:BannerLoader&banner=WMPL_Wikimedia_Polska_Conference&userlang=pl&db=plwiki&sitename=Wikipedia&country=PL

So the problem might be BannerLoader related (api usually loads faster). The
server seems to always respond with 200 rather then 304 for those two. Not sure
why it is needed (if it is). JS should be loaded just once and some random
banner should be loaded but the response for the loaded banner should always be
304. And I'm sure both should not be loaded if the banner is hidden.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to