• Resolved deeveearr

    (@deeveearr)


    Hi,

    I found out about a week ago that my websites are running on http2, and so I went into my caching plugin (WP Rocket) and disabled ‘Combine CSS files’ and ‘Combine JS files’, both of which are not recommended when using http2.

    I’m now finding that the speeds are much faster, but my ‘requests’ on GTMetix have shot up from aound 20, up to 56 – I’m guessing because of the combinations from above now being turned off.

    Which brings me back to the original question – do I need this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gijo Varghese

    (@gijo)

    @deeveearr The goal of Flying Scripts is to delay any external JavaScript files that are not needed of the initial render.

    Whether your combine CSS/JS or use HTTP/2 or not, that problem is still not solved. So…

    Thread Starter deeveearr

    (@deeveearr)

    Right then, so digging around in my WP Rocket settings, there are a ton of javascripts under ‘delay javascript execution’.

    If I were to copy and paste these javascripts into the ‘include keywords’ section within Flying Scripts, would that in turn reduce the requests?

    Plugin Author Gijo Varghese

    (@gijo)

    @deeveearr use only one plugin to delay scripts.

    Thread Starter deeveearr

    (@deeveearr)

    Yes, I tried it alongside WP Rocket with ‘delay javascript execution’ turned off (as it was from the first post in this thread), and pasting the scripts inside Flying Scripts.

    Made no difference though, there were still 56 requests in GTMetrix, so I’ll get in touch with WP Rocket to see how to reduce the requests.

    Thanks anyway!

    Thread Starter deeveearr

    (@deeveearr)

    Just had a message back from WP Rocket, and it seems that the increased requests count is a natural bye-product of upgrading to an HTTP2 server, whereby combining scripts is not recommended or needed.

    Seeing as I also use their customised CSS for items ‘above the fold’, there would be no advantage in using Flying Scripts, as I use Perfmatters’ script manager to handle my scripts, even though the requests count leaves a little to be desired.

    So I guess that the answer to the original question then, is that ‘No, I don’t need this’.

    Thanks for your input anyway!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Do I Need This?’ is closed to new replies.