Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #934663

    What files might I look at to optimize & resolve page speed testing by combining both external CSS & JS??
    https://tools.pingdom.com/#!/cl6fV7/http://www.drstevenlazarus.com

    #934675

    Hey jrwired1073,

    Please try using a caching plugin such as W3 Total Cache for scripts and Smush it for images.

    After installing Smush it regenerates thumbnails using the thumbnail regenerator plugin.

    Hope this helps :)

    Best regards,
    Vinay

    #934676

    that actually degraded the site’s performance (not improve it). See my link above, the external CSS & JS isn’t being combined/compressed. I had better numbers using Autoptimize. I know HOW to combine, I just need to know what files I can make the changes in on the theme.

    • This reply was modified 7 years, 3 months ago by jrwired1073.
    #934701

    Hi,

    The CSS files in the Pingdom test seems to all be coming from Autoptimize, so I’m guessing you need to make adjustments to the plugin? This thread might be of interest to you as well: https://kriesi.at/support/topic/seo-google-page-insights-blocking-rendering-ressources-above-the-fold/

    Best regards,
    Rikard

    #934867

    Not sure I can believe you looked at them? I disagree… they come from 2 external sources referenced in the theme (not being manipulated by Autoptimize):
    1) fonts.googleapis.com
    2) onsite CSS not being compressed/singularized by Autoptimize (and yes, I’ve already exhausted the advanced settings on that plugin with no improvement to below)

    There are 6 CSS files served from fonts.googleapis.com. They should be combined into as few files as possible.
    https://fonts.googleapis.com/css?family=Montserrat%7COpen+Sans:400,600
    https://fonts.googleapis.com/css?family=Open+Sa ... C700%2C700i&ver=fe0dd814f74e71e8705a105b9e95bf8a
    https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i
    https://fonts.googleapis.com/css?family=Roboto+ ... C700%2C700i&ver=fe0dd814f74e71e8705a105b9e95bf8a
    https://fonts.googleapis.com/css?family=Roboto+ ... ,700i|Roboto:300,300i,400,400i,500,500i,700,700i
    https://fonts.googleapis.com/css?family=Source+Code+Pro
    
    There are 4 CSS files served from www.drstevenlazarus.com. They should be combined into as few files as possible.
    https://www.drstevenlazarus.com/wp-content/cach ... autoptimize_676692af589d864686fab6d0ffd80592.css
    https://www.drstevenlazarus.com/wp-content/cach ... autoptimize_f7b0ca8e37598219410c6f0e1715ad5b.css
    https://www.drstevenlazarus.com/wp-content/cach ... autoptimize_fb0a95a1ed5dcf43010c1bee755162fe.css
    https://www.drstevenlazarus.com/wp-includes/css ... ons.min.css?ver=fe0dd814f74e71e8705a105b9e95bf8a
    #935105

    Hi,

    Google fonts; did you try to load the fonts locally instead?

    The files your plugin is creating; did you try to contact the plugin authors to see why that is?

    Best regards,
    Rikard

    #935107

    It’s your theme, how do I force a local load of google fonts?
    As I asked before where/what file can I edit to localize those Google Fonts? All that’s needed is to merge them into one line & comma separate actually, but I don’t know where that’s stored in your theme.

    #935314

    Hi,

    The theme (version 4.2.6) has a new minification or compression feature. Please disable the Autoptimize plugin then re-save the theme options to regenerate the compressed scripts and stylesheets. Let us know if it scores better than when the plugin is activated.

    You can load the font with javascript but it sometimes causes the text to flicker.

    // https://github.com/typekit/webfontloader

    Best regards,
    Ismael

    #935384

    I’m on Enfold Version: 4.2.3, with no prompt/notification to upgrade. Where to find the 4.2.6 & possible readme.txt to upgrade to it?

    #935712

    Hi,

    Thanks for the feedback. Could you try updating manually maybe? http://kriesi.at/documentation/enfold/updating-your-theme-files/

    Best regards,
    Rikard

    #936889

    Rikard/Ismael,

    I have updated the theme to Version: 4.2.6 & saved the theme settings with Autoptimize turned off.
    No real change in https://tools.pingdom.com/#!/cKNsMS/https://www.drstevenlazarus.com/

    I’m still unable to combine external CSS & fonts (see my concern in the thread above).

    What next?

    #937162

    Hi jrwired1073,

    Well, you can try deactivating the themes’ scripts optimization and configure the Autoptimize to do the job for you.

    To disable Enfold optimization you need to add this code to your functions.php

    
    add_filter('avf_merge_assets', function() {
        return array('css' => 'none', 'js' => 'none');
    });
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.