Title: Caching Headers &amp; Cloudflare CDN
Last modified: August 27, 2020

---

# Caching Headers & Cloudflare CDN

 *  Resolved [aaron13223](https://wordpress.org/support/users/aaron13223/)
 * (@aaron13223)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/caching-headers/)
 * Hey There,
 * I’ve two questions, it would really great if you could help me out with those.
   I use cloudflare on my website with polish for webp images, I can’t seem to serve
   the youtube thumbnail via their cdn because of how the youtube thumbnails are
   accessed via query strings. So my questions are:
 * 1. Is there a way to access the cached YouTube thumbnails in a location rather
   than query string with the php file? Such as : example.com/wp-content/youtube-
   cache/post.jpg
    2. Is there a way to increase the cache ttl for the cached thumbnails?
   It seems to be stuck at 7 days and I’d like to increase that.
 * Thank you so much for the help and the great plugin.
    -  This topic was modified 5 years, 9 months ago by [aaron13223](https://wordpress.org/support/users/aaron13223/).
      Reason: heading fix

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/caching-headers/#post-13322914)
 * 1. afraid not no
    2. you can change [line 124 of lyteCache.php](https://github.com/futtta/wp-youtube-lyte/blob/main/lyteCache.php#L124),
   change the 7 into whatever amount of days you want? 🙂
 * hope this helps,
    frank
 *  Thread Starter [aaron13223](https://wordpress.org/support/users/aaron13223/)
 * (@aaron13223)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/caching-headers/#post-13324299)
 * Ahhh, second was an easy fix. Thanks a bunch
 * I understand that you’d need to change a lot in the plugin to make the first 
   thing happen. I won’t bother you with first question again 😉
 * Thank you so much for your help!
    -  This reply was modified 5 years, 9 months ago by [aaron13223](https://wordpress.org/support/users/aaron13223/).
      Reason: spelling mistake
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/caching-headers/#post-13324578)
 * you’re welcome, feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/wp-youtube-lyte/reviews/#new-post)!
   🙂
 * frank

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

The topic ‘Caching Headers & Cloudflare CDN’ 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/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [cdn](https://wordpress.org/support/topic-tag/cdn/)

 * 3 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/caching-headers/#post-13324578)
 * Status: resolved