Title: LS Cache Image Optimization with CloudFlare Cache
Last modified: April 30, 2020

---

# LS Cache Image Optimization with CloudFlare Cache

 *  Resolved [victorjvs](https://wordpress.org/support/users/victorjvs/)
 * (@victorjvs)
 * [6 years ago](https://wordpress.org/support/topic/ls-cache-image-optimization-with-cloudflare-cache/)
 * Hello people!
 * We are already in V3, I would like to know if the cache problem with the CF has
   been solved?
 * More specifically this one: [CF Cache and LS Cache webp Problem](https://wordpress.org/support/topic/litespeed-not-serving-webp-images/#post-12758564)
 * I’m trying to optimize the images on my site, but I’m not managing to leave any
   with the webp format.
 * Report number: **QPIZLFIZ**
    -  This topic was modified 6 years ago by [victorjvs](https://wordpress.org/support/users/victorjvs/).
      Reason: Add reporting number
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fls-cache-image-optimization-with-cloudflare-cache%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years ago](https://wordpress.org/support/topic/ls-cache-image-optimization-with-cloudflare-cache/#post-12758860)
 * Hi,
 * Yes.
 * If you have link to Quic Cloud dashboard , then please check in domain —> setting—
   > server IP
 * If you didn’t link to QC dashboard , then please go to crawler setting , set 
   server IP , then re-generate the domain key.
 * in either of above scenario , it will sync the origin server IP to our node ,
   and will pull directly from origin while bypassing CF.
 * You may need to whitelist our [IPs](https://www.quic.cloud/ips) as well.
 * Best regards,
 *  Thread Starter [victorjvs](https://wordpress.org/support/users/victorjvs/)
 * (@victorjvs)
 * [6 years ago](https://wordpress.org/support/topic/ls-cache-image-optimization-with-cloudflare-cache/#post-12758938)
 * Thanks for the quick response!
 * Where can I whitelist these ips? I use OLS, does it come pre-configured to whitelist
   these ips?
    -  This reply was modified 6 years ago by [victorjvs](https://wordpress.org/support/users/victorjvs/).
    -  This reply was modified 6 years ago by [victorjvs](https://wordpress.org/support/users/victorjvs/).
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years ago](https://wordpress.org/support/topic/ls-cache-image-optimization-with-cloudflare-cache/#post-12758954)
 * Hi,
 * From OLS side , you probably doesn’t need to whitelist it if you didn’t set any
   restriction.
 * I mean more like server firewall , ufw , firewalld , iptables , CSF …etc
 * Best regards,
 *  Thread Starter [victorjvs](https://wordpress.org/support/users/victorjvs/)
 * (@victorjvs)
 * [6 years ago](https://wordpress.org/support/topic/ls-cache-image-optimization-with-cloudflare-cache/#post-12759006)
 * Hi,
 * I just redid the option “Destroy All Optimization Data” and I still have images
   in my home that are in JPG and PNG, what could it be?
 * [Images not in Webp](https://imgur.com/JewyR6F)
 * [Images not in Webp2](https://imgur.com/eXDsYZC)
 * Cheers,
    -  This reply was modified 6 years ago by [victorjvs](https://wordpress.org/support/users/victorjvs/).
    -  This reply was modified 6 years ago by [victorjvs](https://wordpress.org/support/users/victorjvs/).
      Reason: Add image link
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years ago](https://wordpress.org/support/topic/ls-cache-image-optimization-with-cloudflare-cache/#post-12760313)
 * Hi,
 * Please check if you have enabled “webp generation” , and also please provide 
   the report number.
 * Best regards,
 *  Thread Starter [victorjvs](https://wordpress.org/support/users/victorjvs/)
 * (@victorjvs)
 * [6 years ago](https://wordpress.org/support/topic/ls-cache-image-optimization-with-cloudflare-cache/#post-12760677)
 * Hello!
 * I already have all the settings active as shown in the print below:
 * [Webp configs](https://imgur.com/E3X27zl)
 * I had already passed the report number above, but here it is: **QPIZLFIZ**
 * Thanks,
    -  This reply was modified 6 years ago by [victorjvs](https://wordpress.org/support/users/victorjvs/).
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years ago](https://wordpress.org/support/topic/ls-cache-image-optimization-with-cloudflare-cache/#post-12761492)
 * Hi,
 * I randomly picked up one images and checked it does have webp replacement present
   by direct access URL.
 * Now , could you please go to admin area , left-side bar —> LiteSpeed Cache —>
   Toolbox —> [6] Debug Settings
 * in this page:
 * set **Debug Log** to **Admin IP Only**
 * add your IP into **Admin IPs** (you will see your IP below.)
 * set **Debug Level** to **Advanced**
 * save changes.
 * Now go to **[7] Log View**, click on admin-bar LiteSpeed Cache —> Purge All
 * then click button **[D] Clear Log** , keep this window open, don’t close it nor
   navigate away from it.
 * Now ,open a new window, access your home page , like [https://your_domain.com/?test](https://your_domain.com/?test)(
   please do remember attach **?test** to it)
 * once page is loaded , go back to **Log View** window and refresh this page, you
   should see the debug log is showing up.
 * Then please copy all the text , paste it into [https://paste.ubuntu.com/](https://paste.ubuntu.com/)
 * then post the link it generated for you.
 * Best regards,
 *  Thread Starter [victorjvs](https://wordpress.org/support/users/victorjvs/)
 * (@victorjvs)
 * [6 years ago](https://wordpress.org/support/topic/ls-cache-image-optimization-with-cloudflare-cache/#post-12765903)
 * Hello,
 * Here’s the link: [LS Cache log](https://paste.ubuntu.com/p/NB7JFMVbDF/)
 * I noticed that in some images it says that there is no WEBP…
 * I have already performed the procedure of destroying all the data of optimized
   images 2 times and still the same error remains.
 * Cheers,
 *  Thread Starter [victorjvs](https://wordpress.org/support/users/victorjvs/)
 * (@victorjvs)
 * [6 years ago](https://wordpress.org/support/topic/ls-cache-image-optimization-with-cloudflare-cache/#post-12770960)
 * Hi [@qtwrk](https://wordpress.org/support/users/qtwrk/) any updates?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years ago](https://wordpress.org/support/topic/ls-cache-image-optimization-with-cloudflare-cache/#post-12771093)
 * Hi,
 * It didn’t do replacement due to webp file not exist.
 * In some cases , webp could be result in larger than origin , in that case , webp
   will be dropped as there is no reason to replace it.
 * If you failed to get webp for first time , I would say it might be some kind 
   of error happened , but if you tried multiple times and still not getting webp,
   then it’s possible that webp is larger than origin.
 * Best regards,
 *  Thread Starter [victorjvs](https://wordpress.org/support/users/victorjvs/)
 * (@victorjvs)
 * [6 years ago](https://wordpress.org/support/topic/ls-cache-image-optimization-with-cloudflare-cache/#post-12771446)
 * Thank you!

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

The topic ‘LS Cache Image Optimization with CloudFlare Cache’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

## Tags

 * [CF](https://wordpress.org/support/topic-tag/cf/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [optimization](https://wordpress.org/support/topic-tag/optimization/)
 * [webp](https://wordpress.org/support/topic-tag/webp/)

 * 11 replies
 * 2 participants
 * Last reply from: [victorjvs](https://wordpress.org/support/users/victorjvs/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/ls-cache-image-optimization-with-cloudflare-cache/#post-12771446)
 * Status: resolved