Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Anthony Hortin

    (@ahortin)

    You could minimise the stylsheets that aren’t already minimised

    Thread Starter DigitalRun

    (@digitalrun)

    Thank you Anthony, but how about that javascript file?

    Remove render-blocking JavaScript:
    https://www.digitalrun.ro/wp-content/themes/quark.1.2.4/quark/js/modernizr-2.6.2-min.js

    Is there a way to improve this by editing the code?

    Theme Author Anthony Hortin

    (@ahortin)

    I don’t think so. You could always remove the script altogether, but that will remove all the feature detect functionality.

    From the Modernizr website…

    The reason we recommend placing Modernizr in the head is two-fold: the HTML5 Shiv (that enables HTML5 elements in IE) must execute before the <body>, and if you’re using any of the CSS classes that Modernizr adds, you’ll want to prevent a FOUC.

    If you don’t support IE8 and don’t need to worry about FOUC, feel free to include modernizr.js whereever.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Increase page speed’ is closed to new replies.