The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS With http/2 should one separate mobile and desktop CSS?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #267456

    Does it make sense to separate mobile and desktop CSS in two separate files when serving the site over http/2?

    As I understand, that way you can omit loading desktop styles on mobile, thus achieving faster loading times. With http/1.1 it would require an additional resource request though, so you would concatenate it in the one file.

    But with http/2 it should load in parallel I suppose. Are there any downsides to the approach?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.