Title: Leverage Browser Caching
Last modified: October 31, 2017

---

# Leverage Browser Caching

 *  Resolved Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/leverage-browser-caching-48/)
 * Hey Frank, is it possible to “leverage browser caching” for [https://i.ytimg.com/](https://i.ytimg.com/)?
   As it’s one of the suggestions given by pagespeed. Thanks

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/leverage-browser-caching-48/#post-9637130)
 * Not out of the box, but you could download the thumbnail (or put one of your 
   own liking) and use Lyte’s API (`lyte_match_thumburl` filter) to tell it to use
   this local image?
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/leverage-browser-caching-48/#post-9637463)
 * How would i use the “Lyte’s API (lyte_match_thumburl filter)” ? Does that go 
   in the functions.php with a url to the local image? Sorry, need my hand held 
   on this one 😉
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/leverage-browser-caching-48/#post-9637479)
 * Ah, just realized the image linked with [https://i.ytimg.com/](https://i.ytimg.com/)
   is the actual cover image of the video, the thumbnail. I thought it was that 
   little play button. Not sure if this will be possible then as all videos have
   different thumbnails.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/leverage-browser-caching-48/#post-9637659)
 * true. no easy automated fix I’m afraid.
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/leverage-browser-caching-48/#post-9638245)
 * no probs, thanks anyway.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/leverage-browser-caching-48/#post-10227592)
 * update: lyte 1.7.0 will have an option to cache thumbnails locally @martychc23,
   good for privacy and performance! 🙂
 * (also [@ronwisely](https://wordpress.org/support/users/ronwisely/) )
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/leverage-browser-caching-48/#post-10227772)
 * Ah, I was actually thinking about this recently.
 * I use another plugin (A3 Lazy Load) for lazying images.
 * It also has an option for lazy loading videos, but for some reason it changes
   the size of the video from 16:9 to 4:3, so I stuck with this plugin as my videos
   look better.
 * But what I liked about that plugin was that it lazy loaded videos just like images
   by fading them into view on user scroll without making any external calls like
   YTL does.
 * I guess the coming update will solve that issue?
 * If so, that’s great news as this was always a slight disadvantage when using 
   YTL!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/leverage-browser-caching-48/#post-10227790)
 * well, the video thumbnails are _not_ lazyloaded (but are loaded after DomContentLoaded)
   and are not (optionally) loaded from your own server instead of YT’s 🙂
 * (1.7.0 has been released in the mean time, so update & play around with it 🙂)
 *  Thread Starter Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/leverage-browser-caching-48/#post-10229702)
 * Hey Frank,
 * The hover text for No (default) for the following options:
 * Also act on normal YouTube links?
 * Cache thumbnails locally? (beta)
 * Reads
 * “No, I’ll stick to httpv or shortcodes”
 * Is that supposed to say that?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/leverage-browser-caching-48/#post-10229801)
 * err .. nope, not for “cache thumbnails” at least 🙂
 * [fixed on Github](https://github.com/futtta/wp-youtube-lyte/commit/34ed3d2f845884573b5871fe8a7b5ab5be7deed4),
   will trickle down to next minor release.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Leverage Browser Caching’ is closed to new replies.

 * ![](https://ps.w.org/wp-youtube-lyte/assets/icon-128x128.png?rev=1836005)
 * [WP YouTube Lyte](https://wordpress.org/plugins/wp-youtube-lyte/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-youtube-lyte/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-youtube-lyte/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-youtube-lyte/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/leverage-browser-caching-48/#post-10229801)
 * Status: resolved