Closed Bug 1759937 Opened 2 years ago Closed 2 years ago

[meta] Lazy-load non-critical browser stylesheets

Categories

(Firefox :: Theme, task, P3)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: sfoster, Unassigned)

References

Details

(Keywords: meta)

Some stylesheets provide rules for UI and interactions which might never be used in a given session. With the refactoring to move %includes to @imports, There's an opportunity to simplify and speed up the initial browser startup by loading CSS for some features as-needed.

Some consideration is needed to ensure we don't introduce noticeable delays in responsiveness, and ensure images don't flicker as the stylesheet is loaded and those previously-preloaded resources are discovered at runtime.

Depends on: 1759939
Depends on: 1759940
Depends on: 1759941
Depends on: 1760893

The investigation in bug 1760893 showed marginal performance improvements from lazy-loading these stylesheets. It doesn't seem worth doing for that reason alone.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.