Title: Local cache issue with draft
Last modified: November 22, 2021

---

# Local cache issue with draft

 *  [keengamer](https://wordpress.org/support/users/keengamer/)
 * (@keengamer)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/local-cache-issue-with-draft/)
 * Hi, we have an issue. If someone from our writers is preparing a post and embeds
   yet unpublished video from YouTube then the thumbnail is not possible to get 
   from YT (no right for private posts). But your plugin already creates this nonexistent
   default image (see here [https://imgur.com/a/P5618OV](https://imgur.com/a/P5618OV))
   and stores it in the local cache. And even after the video is published this 
   is not refreshed.
 * I think there should be some control or some process which will not save the 
   local cache until the YT video is public or possible second way to go, will not
   store it if the post is not yet published on our site…
 * Thanks,
    Karel

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/local-cache-issue-with-draft/#post-15094615)
 * The only solution I can think of is to clear the LYTE cache after the video has
   been published (or remove the faulty thumbnail from `wp-content/cache/lyteCache/`)?
 * frank

Viewing 1 replies (of 1 total)

The topic ‘Local cache issue with draft’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/local-cache-issue-with-draft/#post-15094615)
 * Status: not resolved