Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #1141739

    Hello to all,

    The GTmetrix report a high priority level with a E grade with inline small javascript.
    It advises me to inlining small external JavaScript files, this can save the overhead of fetching these small files. “A good alternative to inline JavaScript is to combine the external JavaScript files”.
    How can I do that ?
    See exactly the report in private,

    Regards
    Icean

    #1142225

    Does everyone could help for this request ?
    Thanks in advance,
    Iceman

    • This reply was modified 5 years ago by ICEMAN.
    #1142532

    Hi,

    Thank you for the inquiry.

    The theme has its own file compression option, which is located in the Enfold > Performance panel. You can use that to merge the scripts and stylesheets. If the site has a lot of plugins or third party scripts, use a third party minify tool like Autoptimize because the native compression might not include those scripts in the merged file.

    Best regards,
    Ismael

    #1142634

    Thanks Ismael, I already have W3 TOTAL CACHE, do yu think it will do the job and compatible with the theme ?

    #1142676

    Hi ICEMAN,

    Yes, this plugin should do the job.

    Best regards,
    Victoria

    #1142699

    Ok, thank you Victoria, you can close this topic , have a nice day !
    Regards,
    Iceman

    #1142882

    Victoria, I use W3 TOTAL CACHE and as you see in the screen capture, GTmetrix test, some of resources are still bad with js…

    #1143141

    Hi ICEMAN,

    Please share the GTmetrix test result.

    Best regards,
    Victoria

    #1143285

    Hi Victoria, see the result for javascript in private :)
    Regards,
    Iceman

    #1143328

    Hi ICEMAN,

    You can configure the plugin to minify JavaScript
    https://code.tutsplus.com/articles/configuring-w3-total-cache-advanced-minification-settings–wp-31043

    and the them does JavaScript merging too. Did you have it enabled?

    Best regards,
    Victoria

    #1143363

    What do you mean by JavaScript merging ?

    #1143394

    Victoria, could you explain how to turn on Enfold Javascript Merging ?

    #1143797

    Hi ICEMAN,

    You could see this option in Enfold > Performance > Javascript file merging and compression.

    Best regards,
    Nikko

    #1143812

    Ok Nikko, great !
    Do I need to deactivate javascript and css minification (or other options that can disturbing) in W3 Total Cache if I activate CSS and javascript file merging in Enfold theme ?

    See the results in private

    • This reply was modified 5 years ago by ICEMAN.
    #1144340

    Hi ICEMAN,

    Enfold’s js/css merging & minification only affects js/css files in the Enfold theme, if you have other js/css files that’s not from enfold I think it’s better to use the one from w3total cache but you may need to review your site since minification sometimes causes undesirable results.
    This article from Kriesi might help you in getting better scores: https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow

    Best regards,
    Nikko

    #1144426

    Ok Nikko, it’s nice of you to help me.
    Have a good day !
    Cheers !
    Iceman

    #1145072

    Hi ICEMAN,

    Glad we could help :)

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

    #1145108

    You can close the topic,
    Cheers !
    Iceman

    #1145146

    Hi,

    Best regards,
    Victoria

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Inline Small Javascript’ is closed to new replies.