Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #580105

    The GT Metrix reports when you go to the waterfall for our site, the slow load time is because of a missing file at /flashmediaelement.swf This file is located in /wp-content/themes/enfold/js/mediaelement but I’m not sure what it’s for or why the site is looking for it in the wrong place when loading the home page.

    • This topic was modified 8 years, 9 months ago by clcintx.
    #580403

    So after some more research, when I minify javascript with any caching plugin is when it can’t find this file in the root folder. With minification off the file is located at /wp-includes/js/mediaelement/flashmediaelement.swf and it finds it correctly. It’s only that file that has issues with the minification though??

    The theme loads this js file /wp-includes/js/mediaelement/wp-mediaelement.js which refers to that swf file

    So if I go into W3 total cache and exclude that one js file /wp-includes/js/mediaelement/wp-mediaelement.js … there are no more 404 errors for the swf file

    But now there are still 3 files in the GT Metrix waterfall that are adding around 2 seconds of load time that are directly related to this script::

    * MediaElement.js
    * HTML5 <video> and <audio> shim and player
    * http://mediaelementjs.com/
    *
    * Creates a JavaScript object that mimics HTML5 MediaElement API
    * for browsers that don’t understand HTML5 or can’t play the provided codec
    * Can play MP4 (H.264), Ogg, WebM, FLV, WMV, WMA, ACC, and MP3
    *
    * Copyright 2010-2014, John Dyer (http://j.hn)
    * License: MIT

    • This reply was modified 8 years, 9 months ago by clcintx.
    #581447

    Hi!

    Thank you for using Enfold.

    I can see the file 404 error in the gmetrix > waterfall chart so I guess the file is not excluded yet. Could you please exclude the file again? We’ll check the gmetrix report afterwards. https://gtmetrix.com/reports/uplandsoftware.com/p6hF5yUg

    Cheers!
    Ismael

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