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

Test whether download happens before or after onload #2

Open
bluesmoon opened this issue Jun 4, 2012 · 0 comments
Open

Test whether download happens before or after onload #2

bluesmoon opened this issue Jun 4, 2012 · 0 comments

Comments

@bluesmoon
Copy link

I know that most browsers will download CSS that isn't valid in the current view because of the possibility that the view may suddenly change. This is a simple way to make it future proof... probably not the best way, but it works.

What would be more interesting would be to see if these downloads happen before or after the page's onload even fires. If after, then the browsers are doing the right thing, if before, then that's wasting bandwidth.

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

No branches or pull requests

1 participant