Plugin Support
qtwrk
(@qtwrk)
Hi,
Is that CDN-like sub domain for static resources only ?
I assume you have http://www.domain.com , then load images on static.domain.com ?
if so , was that URL replacement done by LSCWP’s CDN feature ?
Best regards,
I use bunnycdn.
If i disable CDN i also have not replaced to webp images
Plugin Support
qtwrk
(@qtwrk)
Hi,
please provide the report number, you can get it in toolbox —> report , click “send to LiteSpeed”
when you disable CDN , I assume it is loading as origin URL ? as domain.com/image, instead of static.domain.com/image ?
Best regards,
<img data-lazyloaded="1" src="https://static.site.com/wp-content/uploads/2020/07/Rebuild-214x140.jpg" width="214" height="140" data-src="https://static.site.com/wp-content/uploads/2020/07/Rebuild-214x140.jpg" class="image wp-post-image no-display litespeed-loaded appear" alt="" title="Rebuild" data-srcset="https://static.site.com/wp-content/uploads/2020/07/Rebuild-214x140.jpg.webp 214w, https://static.site.com/wp-content/uploads/2020/07/Rebuild-104x69.jpg.webp 104w, https://static.site.com/wp-content/uploads/2020/07/Rebuild-702x459.jpg.webp 702w" data-sizes="(max-width: 214px) 100vw, 214px" sizes="(max-width: 214px) 100vw, 214px" srcset="https://static.site.com/wp-content/uploads/2020/07/Rebuild-214x140.jpg.webp 214w, https://static.site.com/wp-content/uploads/2020/07/Rebuild-104x69.jpg.webp 104w, https://static.site.com/wp-content/uploads/2020/07/Rebuild-702x459.jpg.webp 702w" data-was-processed="true">
another example. first image is not webp, but webp version exist and work correct
Plugin Support
qtwrk
(@qtwrk)
Hi,
Please provide the report number.
and also disable this static.site.com domain for the moment.
make sure you see webp on original domian first.
Best regards,
hm, disable cdn and it’s rewrite it
Plugin Support
qtwrk
(@qtwrk)
Hi,
You mean if disable CDN , all links rewrote to webp link ?
by “disable CDN” , which plugin ? are you using BunnyCDN plugin?
Best regards
BunnyCDN plugin using. Yes all rewrited without plugin. But now i setup cdn setting and url not rewrite to cdn with litespeed plugin((
Plugin Support
qtwrk
(@qtwrk)
Hi,
please check following:
1. make sure BunnyCDN plugin is disabled.
2. make sure LSCWP CDN feature is turned ON
3. make sure CDN URL is set to https://static.domain.com/
4. make sure Origin URL is set to //domain.com/
most importantly: do not miss any / at beginning and at end of URL, use exact format as I showed
after you made change , do a purge all
Best regards,
-
This reply was modified 5 years, 5 months ago by
qtwrk.
-
This reply was modified 5 years, 5 months ago by
qtwrk.
Wow. Thanks you! All work.
Sorry, another question… Plugin ampforwp generate amp pages. At amp pages images not rewrited to webp, but rewrite url to cdn server.
@qtwrk can you help with webp on amp pages? π
Please close it. I think need create another topic