Closed Bug 1197063 Opened 9 years ago Closed 7 years ago

Defer loading unnecessary CSS which block rendering the first page

Categories

(Firefox OS Graveyard :: Gaia, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ting, Unassigned)

References

Details

While working on Contacts app to use gaia-header's attributes "title-start/end", and "no-font-fit" to cut down the work, I found the app still starts layout very late after all the CSS are loaded. But look at the CSSs, not every one is needed to paint the first page. We should be able to defer some to render the app earlier. And I believe this applies to all the apps. [1] https://github.com/filamentgroup/loadCSS
Should the NGA split into views help here? Each view should have its own css so the root view css should be much smaller.
Good point. Yes, that'd help.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.