Mejorado Internal

The front page appears sooner on a first visit

On a first visit, Magpie's front page now appears without waiting for all of Magpie's styles to download. It looks exactly the same.

FirstPaintCss puts the rules of the page's own stylesheets that can apply (a selector is dropped only when it needs a class or id neither the page nor its scripts name) in a in the head, in order, and moves the full stylesheets, unchanged and in order, to the end of the body; every rule's last appearance keeps its place, so the cascade is unchanged. HomePageCopy applies it when keeping a copy (front page: 21 KB compressed in place of 134 KB before first paint) and keeps the copy compressed in parts around the nonce, so send() joins them with the visitor's compressed nonce instead of Apache compressing the page for each visit; the parts are checked by reading them back before they are kept.