WordPress.org

Ready to get started?Download WordPress

Forums

Quark
[resolved] Increase page speed (4 posts)

  1. DigitalRun
    Member
    Posted 11 months ago #

    Hello,

    First of all I want to thank Anthony for this very nice theme, it was easy to customize and works great!

    At this moment I am trying to get a very good loading speed and I used Google Page Speed Insights for testing it. Even if I have a very good score: 78 on mobile and 91 on desktop I want to improve one last thing.

    Eliminate external render-blocking Javascript and CSS in above-the-fold content
    Your page has 1 blocking script resources and 9 blocking CSS resources.
    Learn more
    Remove render-blocking JavaScript:
    http://www.digitalrun.ro/wp-content/themes/quark.1.2.4/quark/js/modernizr-2.6.2-min.js

    Removing the render-blocking JS interests me the most. And there's also this:

    Optimize CSS delivery for the following resources:
    http://www.digitalrun.ro/wp-content/plugins/smooth-scroll-up/css/tab.css
    http://www.digitalrun.ro/wp-content/themes/quark.1.2.4/quark/css/normalize.css
    http://www.digitalrun.ro/wp-content/themes/quark.1.2.4/quark/css/font-awesome.min.css
    http://www.digitalrun.ro/wp-content/themes/quark.1.2.4/quark/css/font-awesome-social.css
    http://www.digitalrun.ro/wp-content/themes/quark.1.2.4/quark/css/grid.css
    http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic&subset=latin
    http://fonts.googleapis.com/css?family=Arvo:400&subset=latin
    http://www.digitalrun.ro/wp-content/themes/quark.1.2.4/quark/style.css
    http://www.digitalrun.ro/wp-content/plugins/socialize/frontend/css/socialize.css

    I understand what's all about but I don't know what to do exaclty. Is there any way to improve this by editing the code?

    My blog is http://www.digitalrun.ro

    Thank you

  2. ahortin
    Member
    Theme Author

    Posted 11 months ago #

    You could minimise the stylsheets that aren't already minimised

  3. DigitalRun
    Member
    Posted 11 months ago #

    Thank you Anthony, but how about that javascript file?

    Remove render-blocking JavaScript:
    http://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?

  4. ahortin
    Member
    Theme Author

    Posted 11 months ago #

    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.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.