Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFR] Speed Up Default Login Page Time To Interactive #2589

Merged
merged 1 commit into from
Nov 29, 2018

Conversation

Kmaschta
Copy link
Contributor

Problem

CSS background image block the main thread when loading an image.
On the default Login page, we load a HUGE image and it makes the login form unresponsive with a slow internet connection.

Solution

This PR makes the background image loading async so that it don't block the interactivity.

@fzaninotto fzaninotto merged commit 6c612b1 into next Nov 29, 2018
@fzaninotto
Copy link
Member

Thanks!

@fzaninotto fzaninotto deleted the speed-up-login-tti branch November 29, 2018 18:31
@fzaninotto fzaninotto added this to the 2.5.0 milestone Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants