Lots of Javascript issues because of MEC & RevSlider

So I’ve been using Modern Events Calendar & Revolution Slider & I have shortcode for each on my home page to populate a section with it’s content.

However, it seems this has been one of the biggest reasons my website’s speed is so slow.

According to this test:

https://gtmetrix.com/reports/ohiocannabis.com/KnW5QjkU

There is a major problem with “Defer Parsing of JavaScript”

792.5KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering.

    https://www.ohiocannabis.com/wp-content/plugins/revslider/public/assets/js/rs6.min.js?ver=6.1.6 (243.9KiB)
    https://www.ohiocannabis.com/wp-content/plugins/revslider/public/assets/js/revolution.tools.min.js?ver=6.0 (143.0KiB)
    https://www.ohiocannabis.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp (86.8KiB)
    https://www.ohiocannabis.com/ (64.2KiB of inline JavaScript)
    https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/js/frontend.js?ver=5.3.2 (62.6KiB)
    https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/packages/select2/select2.full.min.js?ver=5.3.2 (60.7KiB)
    https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/packages/owl-carousel/owl.carousel.min.js?ver=5.3.2 (48.1KiB)
    https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/packages/tooltip/tooltip.js?ver=5.3.2 (35.0KiB)
    https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/packages/featherlight/featherlight.js?ver=5.3.2 (10.9KiB)
    https://www.ohiocannabis.com/wp-content/plugins/steempress/public/js/iframeResizer.min.js?ver=5.3.2 (9.5KiB)
    https://www.ohiocannabis.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1 (7.7KiB)
    https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/js/events.js?ver=5.3.2 (7.0KiB)
    https://www.ohiocannabis.com/wp-content/plugins/youtube-embed-plus/scripts/ytprefs.min.js?ver=13.2.0.1 (6.3KiB)
    https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/packages/lity/lity.min.js?ver=5.3.2 (4.6KiB)
    https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/js/jquery.typewatch.js?ver=5.3.2 (1.5KiB)
    https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/packages/colorbrightness/colorbrightness.min.js?ver=5.3.2 (610B)
    https://www.ohiocannabis.com/wp-content/plugins/steempress/public/js/steempress_sp-public.js?ver=2.6 (27B)

Also “Minify JavaScript” is also coming back with a lot of errors related to these two plugins/features:

Minify JavaScript for the following resources to reduce their size by 59.2KiB (6% reduction).

    Minifying https://www.ohiocannabis.com/wp-content/plugins/essential-grid/public/assets/js/jquery.themepunch.essential.js?ver=2.3.6 could save 17.3KiB (33% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/packages/owl-carousel/owl.carousel.min.js?ver=5.3.2 could save 7.9KiB (39% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/w2dc/resources/js/js_functions.js?ver=2.5.6 could save 6.3KiB (12% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/js/frontend.js?ver=5.3.2 could save 5.4KiB (29% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/packages/featherlight/featherlight.js?ver=5.3.2 could save 4.1KiB (50% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/w2dc/resources/js/google_maps.js?ver=2.5.6 could save 4.1KiB (18% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/buddyforms/assets/js/buddyforms.js?ver=5.3.2 could save 3.0KiB (28% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/buddyforms/assets/resources/garlicjs/garlic.js?ver=5.3.2 could save 2.4KiB (52% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/themes/pro/cornerstone/assets/dist/js/site/cs.fa34ec9.js could save 1.4KiB (4% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/revslider/public/assets/js/revolution.tools.min.js?ver=6.0 could save 1.1KiB (3% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/sassy-social-share/public/js/sassy-social-share-public.js?ver=3.3.8 could save 749B (7% reduction) after compression. See optimized version.
    Minifying https://maps.google.com/maps/api/js?libraries=places&key=AIzaSyCwqawdhXEUkljXlngrbSeB_8YEW-ab7_c&callback=w2dc_load_maps_api could save 448B (2% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/js/jquery.typewatch.js?ver=5.3.2 could save 430B (35% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/js/events.js?ver=5.3.2 could save 368B (15% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/revslider/public/assets/js/rs6.min.js?ver=6.1.6 could save 344B (1% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js?ver=2.70 could save 242B (7% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/wp-logo-showcase-responsive-slider-slider/assets/js/slick.min.js?ver=2.4.1 could save 197B (2% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/steempress/public/js/iframeResizer.min.js?ver=5.3.2 could save 189B (4% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/mediaelement/mediaelement-and-player.min.js?ver=4.2.13-9993131 could save 182B (1% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/buddyforms/assets/resources/loadingoverlay/loadingoverlay.min.js?ver=5.3.2 could save 149B (2% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/zxcvbn.min.js could save 148B (1% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/packages/colorbrightness/colorbrightness.min.js?ver=5.3.2 could save 136B (25% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/core.min.js?ver=1.11.4 could save 125B (7% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/widget.min.js?ver=1.11.4 could save 121B (5% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/sortable.min.js?ver=1.11.4 could save 120B (2% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/datepicker.min.js?ver=1.11.4 could save 119B (2% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/jquery.ui.touch-punch.js?ver=0.2.2 could save 117B (20% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/button.min.js?ver=1.11.4 could save 117B (6% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/draggable.min.js?ver=1.11.4 could save 117B (3% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/position.min.js?ver=1.11.4 could save 117B (5% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/slider.min.js?ver=1.11.4 could save 117B (4% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/autocomplete.min.js?ver=1.11.4 could save 116B (5% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/dialog.min.js?ver=1.11.4 could save 116B (4% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/resizable.min.js?ver=1.11.4 could save 116B (3% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/selectmenu.min.js?ver=1.11.4 could save 116B (5% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js?ver=2.1.4 could save 115B (12% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/menu.min.js?ver=1.11.4 could save 114B (5% reduction) after compression. See optimized version.
    Minifying https://www.google-analytics.com/analytics.js could save 113B (1% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/ui/mouse.min.js?ver=1.11.4 could save 113B (12% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/buddyforms/assets/resources/jquery.validate.min.js?ver=5.3.2 could save 107B (2% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/wp-logo-showcase-responsive-slider-slider/assets/js/wpls-public.js?ver=2.4.1 could save 104B (18% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/packages/lity/lity.min.js?ver=5.3.2 could save 88B (4% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp could save 68B (1% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/packages/select2/select2.full.min.js?ver=5.3.2 could save 67B (1% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1 could save 57B (2% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/wp-emoji-release.min.js?ver=5.3.2 could save 38B (1% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/wp-smushit/app/assets/js/smush-lazy-load.min.js?ver=3.4.2 could save 37B (1% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/themes/pro/framework/dist/js/site/x.js?ver=3.1.2 could save 29B (1% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/packages/tooltip/tooltip.js?ver=5.3.2 could save 21B (1% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/metronet-profile-picture/js/mpp-frontend.js?ver=2.3.10 could save 16B (9% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/steempress/public/js/steempress_sp-public.js?ver=2.6 could save 15B (29% reduction). See optimized version.
    Minifying https://www.ohiocannabis.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=7.4.4 could save 4B (1% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/youtube-embed-plus/scripts/ytprefs.min.js?ver=13.2.0.1 could save 3B (1% reduction) after compression. See optimized version.
    Minifying https://www.ohiocannabis.com/wp-content/plugins/youtube-embed-plus/scripts/fitvids.min.js?ver=13.2.0.1 could save 2B (1% reduction) after compression. See optimized version.
    Minifying https://chimpstatic.com/mcjs-connected/js/users/76380418c772a8e678a78354a/7856ee1f49d82d4e3591519ef.js?ver=2.3.1 could save 1B (2% reduction). See optimized version.

And finally “Inline Small JavaScript” has these errors:

The following external resources have small response bodies. Inlining the response in HTML can reduce blocking of page rendering.

https://www.ohiocannabis.com/ should inline the following small resources:

    https://www.ohiocannabis.com/wp-admin/js/password-strength-meter.min.js?ver=5.3.2
    https://www.ohiocannabis.com/wp-content/plugins/metronet-profile-picture/js/mpp-frontend.js?ver=2.3.10
    https://www.ohiocannabis.com/wp-content/plugins/modern-events-calendar/assets/packages/colorbrightness/colorbrightness.min.js?ver=5.3.2
    https://www.ohiocannabis.com/wp-content/plugins/steempress/public/js/steempress_sp-public.js?ver=2.6
    https://www.ohiocannabis.com/wp-includes/js/zxcvbn-async.min.js?ver=1.0

Can anyone give me an idea on why MEC & RevSlider are causing such loading problems when using their shortcode on my home page?

Should I just delete these sections off of my home page?

I really like having them there as the MEC helps post upcoming events & also I use RevSlider for a few other things on the home page as well.

Ideas?

Thank you!

Now absolutely NO RevSliders are populating any where on my website…

This is getting so frustrating!!

Any idea why they’re not populating?

I did delete and re-upload The Pro Child Theme earlier too, could this have anything to do with it?

I’ve added my login credentials.

Thank you.

Ok so it seems that when I installed the WP Super Minify plugin to help repair/fix the Javascript and CSS inline issues I was having, it somehow disabled all of the RevSliders on my website

I’ve disabled this plugin for now until I can find a better Javascript fix for the issues I’m having.

All of the RevSliders are now populating again like they should.

Now any thumbnail images in a Revolution Slider are not populating anywhere on my website.

The Slider populates with the various articles, but just no thumbnails.

I’m almost ready to scrap this entire website and start over with a new theme.

The support here is fantastic, but I’m just so blown away and how deep of a mess I’m in with these javascript issues with the RevSlider in general.

Please help. I’m at the end of my rope.

Hi John,

Sorry that you’re having those issue, after a couple of rounds of investigations, it seems the issue with your Thumbnails missing and Embedded video not playing is caused by the Smush’s Lazy Load feature.

I’ve turned off this feature for these media types and purge the W3 Total Cache and that seems to resolve the issue.




Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.