• Resolved kbowson

    (@kbowson)


    Hey Frank,

    I have the ‘cache thumbs locally’… and I even have ShortPixel compressing them!

    I spoke with my host today (WPE) and they said that the vast majority of our uncached resources are being loaded from WP YT Lyte. They said it was the max-res-default images. Any idea how to fix this?

    Kyle

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

    (@optimizingmatters)

    I *guess* the problem is that WPE are talking about edge cache/ cdn cache and I *guess* these are not cached at that level because the image URL is a dynamic one (lyteThumbs.php?stuff_in_the_query_string) in which case most caches decide the resource cannot be cached. Not something we can fix at LYTE’s level I’m afraid, but maybe somehow configurable at that edge cache/ CDN level?

    frank

    Thread Starter kbowson

    (@kbowson)

    Hey Frank, gotcha, that makes sense. If I deselect this cache locally, it will just pull from YT every time? Also, is there any way to make these non-dynamic? OR I guess I don’t understand the benefit of having them dynamic…

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    they’re dynamic because lyteThumbs.php has logic to fetch, cache & serve any image from youtube, allowing the cache to be transient; if the cache gets deleted (on purpose or by accident), it will automagically rebuild. having the image paths entirely static would require a more complex and less performant setup including logic in each post rendering to check if the image is indeed already cached.

    and indeed; if not caching locally images will be pulled from YT every time.

    Thread Starter kbowson

    (@kbowson)

    thank you Frank!!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    You’re welcome Kyle ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Locally Cached Thumbnails Always Loading Uncached from Server’ is closed to new replies.