WordPress.org

Forums

[Plugin: w3 total cache] slow website, video player loads late (2 posts)

  1. utmedical
    Member
    Posted 10 months ago #

    Using WP 3.9.1 with most recent version of W3TC, Cloudflare plugin activated with CF minify setting maxed, using Cloudfront CDN for all static files with an S3 source.

    For some reason the site still takes 3-4 seconds to load. That wouldn't be a huge deal if it weren't for the fact that I am having trouble with my core video player (mediaelement.js) loading late. This results in an ugly poster without a play button until the complete page loads. Interestingly, everything looks snappy on Safari but slow on any other browser.

    So my question is twofold: how can I improve my overall load time, and how can I prioritize the video player js loading so that the user can interact with the media sooner?

    Thanks in advance!

    http://www.ultrasoundoftheweek.com

  2. damoncloudflare
    Member
    Posted 9 months ago #

    Try running your site through something like webpagetest.org to see what's causing the bottlenecks on your site. You won't be able to take appropriate action without finding out the cause first.

    "So my question is twofold: how can I improve my overall load time, and how can I prioritize the video player js loading so that the user can interact with the media sooner?"

    Rocket Loader from CloudFlare might help here. Please note that it may impact JavaScript or jQuery negatively at times, so turn it off if you see an issue.

    Some other tips for using CloudFlare and WordPress.

Reply

You must log in to post.

About this Topic