Closed Bug 847473 Opened 11 years ago Closed 11 years ago

[Calendar][Perf] Delay additional CSS resources

Categories

(Firefox OS Graveyard :: Gaia::Calendar, defect)

x86
macOS
defect
Not set
normal

Tracking

(b2g18+ fixed)

RESOLVED FIXED
Tracking Status
b2g18 + fixed

People

(Reporter: kgrandon, Assigned: kgrandon)

References

Details

Attachments

(1 file)

It appears there are a bunch of CSS resources in index.html that we can delay. We should be able to delay things like forms, buttons, and overlays.
@kgrandon

We can do this with the new load_config.js and a new handler like sharedCss/sharedStyle.

Unrelated we need to kill the web_asset.js junk and use real building blocks which will help us lazy load more (but may actually slow things down... I don't know the perf impact of more css files).
Comment on attachment 722481 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/8525

kgrandon's work + my reluctance to completely kill mozAlarms shim.
Attachment #722481 - Flags: review+
Comment on attachment 722481 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/8525

NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.

[Approval Request Comment]
Bug caused by (feature/regressing bug #): 
User impact if declined: Slower initial load...
This is a great quick win with minimal changes... Perf tests indicated a 80-100ms reduction in initial display time.
Testing completed: 
Risk to taking this patch (and alternatives if risky):
String or UUID changes made by this patch:
Attachment #722481 - Flags: approval-gaia-v1?(21)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment #722481 - Flags: approval-gaia-v1?(21) → approval-gaia-v1?(bfrancis)
Given this is low risk, tracking so that this is automatically uplifted after a couple of days of bake time on master.
tracking-b2g18: --- → +
Attachment #722481 - Flags: approval-gaia-v1?(bfrancis)
Uplifted commit df175e5f288debe3bde56b20e59292a634ff3843 as:
v1-train: 4ab41bedc19c3ca097f3eb999f2c6cb238b359bf
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: