Site logo

Archived topic

Inline JS

3 replies · Started by Marcos on April 18, 2018

Viewing posts 1–4 of 4

Hi,
Please, when I run the GTmetrix analysis, I get the following warning:

The following external resources have small response bodies. Inlining the response in HTML can reduce blocking of page rendering.

should inline the following small resources:
../wp-content/plugins/gp-premium/page-header/functions/js/parallax.min.js
../wp-content/plugins/gp-premium/sections/functions/js/parallax.min.js
../wp-content/plugins/gridable/public/js/gridable-scripts.js
../wp-content/themes/generatepress/js/back-to-top.min.js

How can i fix it?
Thank you!

It's just saying those are small files, so they could technically be inline CSS.

Doing so will make very little difference (if any), especially with HTTP/2.

However, you can use a plugin like Autoptimize to merge them all into one file.

Many thanks! I'll try it.
Best regards.

No problem :)

This archived topic is closed to new replies.