• Resolved saajanbedi

    (@saajanbedi)


    How does PageSpeed Ninja deals with render blocking css and js files. how it is implemented.Does it load script Async to do this.

Viewing 1 replies (of 1 total)
  • Plugin Author Denis Ryabov

    (@dryabov)

    There are several way to deal with render blocking:
    – generate and embed “above-the-fold css”, and load other styles asynchronously;
    – merge javascripts and load them either at the end of html, or asynchronously (there are some heuristics to choose where it is appropriate);
    – transform known synchronous javascript codes (Facebook, Twitter, Google +1, ShareThis, etc.) into asynchronous ones;
    – load all javascripts asynchronously (with emulating of document.write for synchronous embedded scripts), it is the option named “Non-blocking Javascript” in plugins’s advanced settings.

Viewing 1 replies (of 1 total)
  • The topic ‘Render blocking scripts’ is closed to new replies.