• Resolved kbowson

    (@kbowson)


    Hey Futta,

    We have been getting a massive bill from our CDN provider (maxcdn), so I asked them to send me the top 50 CDN bandwidth users for the past 30 days.

    Two of the biggest users appear to be from WP YT LYTE. For reference, most of the top 50 (aside from our big CSS and JS files) are under 500 MB. But you can see that the lyteThumbs.php is pulling 311.02 GB. Any idea on how to fix this?

    1. 3cwj5r2gwa8b4edxso1jn5h4.wpengine.netdna-cdn.com/wp-content/plugins/wp-youtube-lyte/lyteThumbs.php, 3432688, 311.02 GB
    2. 3cwj5r2gwa8b4edxso1jn5h4.wpengine.netdna-cdn.com/wp-content/plugins/wp-youtube-lyte/lyte/lytesprite.png, 2143563, 10.27 GB

    K

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    you could disable “cache thumbnails locally” (assuming you have that option on).

    do the webserver logs confirm this is valid traffic, or could someone be “stealing” your bandwidth?

    frank

    Thread Starter kbowson

    (@kbowson)

    Hey Frank,

    Will reach out to my host and ask. A few follow ups:
    1. If we disable cache thumbnails locally, wouldn’t that slow down performance? Where would those load from? From YT every time?
    2. Is it normal for that .php file to be using so much bandwidth?

    K

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    re (1) indeed from YT

    re (2); yes as the PHP-file delivers the image. so even thought it’s a .php file, in reality it are jpg’s.

    Thread Starter kbowson

    (@kbowson)

    1. So that would slow down performance, no?
    2. So if I’m understanding correctly, it’s only job is to pull the jpg? It doesn’t do anything else of importance? Also, it’s not a placeholder (it’s the actual jpg for the YT thumbnail)

    If #2 is true, then why would that one image be using so much bandwidth?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    1. it would slow down the fully loaded time, but not the onload (the thumbnails are loaded after onload), mainly because if cached locally the same HTTP/2 connection can be used to fetch it iso having to set up a new connection (dns + network connect + https negotiation)

    2. it’s not for one thumbnail, but for all those you have on your site (no idea if your site is YT-heavy).

    Thread Starter kbowson

    (@kbowson)

    Got it, thanks Futta. Could turning off cache thumbs locally theoretically make onload faster?

    K

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    no, because LYTE loads thumbnails after onload event.

    Thread Starter kbowson

    (@kbowson)

    gotcha, thanks Futta!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘High CDN Usage’ is closed to new replies.