Archived topic
Masonry.js
1 reply · Started by Ryan on April 8, 2018
I notice it seems like your theme is loading the wordpress masonry.js file. If I'm not using a masonry layout for my blog, can I disable loading of this script? I apologize if it's not your theme loading the script but it seems to be. Also, would it be possible to combine some of your scripts and css files, there are a lot of very small files loaded like a11y.min.js and generate-dropdown that are only a few lines of code?
If you don't have masonry enabled in "Customize > Layout > Blog", GP won't load masonry.
If that option is off and masonry is still loading - it may be a plugin you have.
Multiple small files are actually better for page speed than one big file, as of HTTP/2.
However, you can use a plugin like Autoptimize to combine them :)