You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead, what happens is the CSS file is given a lower download priority.
It would be good if the README was updated to provide a more accurate description of the performance benefits that the approach of media query splitting actually gives.
The text was updated successfully, but these errors were encountered:
@SassNinja I've raised a PR with some suggested changes to the README that might be useful to people who are interested in this plugin but don't fully understand what the performance benefits would be :) Feel free to make any changes!
In the README file we say:
But the
media
attribute of a stylesheet doesn't actually prevent it from downloading on non-matching media queries:https://blog.tomayac.com/2018/11/08/why-browsers-download-stylesheets-with-non-matching-media-queries-180513/
Instead, what happens is the CSS file is given a lower download priority.
It would be good if the README was updated to provide a more accurate description of the performance benefits that the approach of media query splitting actually gives.
The text was updated successfully, but these errors were encountered: