Site logo

Archived topic

Is combining CSS files still a good idea with HTTP/2?

3 replies · Started by Benjamin on May 18, 2020

Viewing posts 1–4 of 4

Hi,

The GP cutomizer has an option to combine CSS files but I heard that it's not necessary with HTTP/2.

So do you recommend not using that option if the website supports HTTP/2?

Thanks

Hi there,

The Combine CSS does two things -
1. switches Unsemantic grid CSS for a light version
2. and combines it with 2 other CSS files.

Which results in 2 less requests and around 2kb less of page size.

So if there is any benefit to be seen with HTTP/2 it would probably be the smaller file sizes. Albeit very small.

On my lightweight sites where requests are below 30 and page size is below 200kb - that option has shown around a 0.1 second load time saving on HTTP/2.

On heavier sites any saving has been negligible.

Best way to tell is to test your site with and without the option enabled.

Ok I will give it a try then. Thanks :)

You're welcome - be nice to know if it improves for you :)

This archived topic is closed to new replies.