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

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Krinkle <[email protected]> 2011-09-20 23:38:10 UTC ---
I guess the css-hide is done with javascript on-load, after the browser has
already parsed a bit of HTML and started downloading the <img>'s it has
encountered so far.

A possible solution would be to (as far as this isn't the way it is already)
wrap sections in <div>'s server side, give them a class, and in plain css (not
javascript dependent) hide them with "html.js .section { display: none; }" and
in the <head> add that class to the document.

That way they're hidden before parsed and still readable without JS. Testing
that locally in a plain HTML file showed a significant difference in number of
images being downloaded. (ie. none of the in section were downloaded on or
after load until I expanded it)

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

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to