CDN use breaking Advanced ads




Wordpress LScache Plugin: CDN use breaking Advanced ads

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hello, You will not be able to see this on the live site because the effects are to damaging. There is something wrong with the DCN implementation when used with MaxCDN. We use advanced ads pro for our advertising. It comprises a mix of Google ads and image ads. Without the litespeed CDN option everything runs fine. When used with the old WP CDN rewrite they also work fine When used with litespeed CDN the Google ads appear, but the links to the images are malformed: https://aecnewstoday.com/https:/aecnewstoday-pblnhgc7sy3qcy00mosw.netdna-ssl.com/wp-content/uploads/2018/02/Mobile-app-header-giff-a.gif adding a long time to page load. Hence litespeed CDN has been disabled. Id rather not go back to WP CDN rewrite. MaxCDN confirmed the image was being served off of them and said this is not a CDN problem. Advanced ads said they have never seen it. If I exclude the type of image being served (eg gif, jpg, etc) then they serve fine. I dont know if this is related: A scheduled event (litespeed_imgoptm_trigger) has failed to run. Your site still works, but this may indicate that scheduling posts or automated updates may not work as intended. [09-Oct-2018 03:17:54 UTC] PHP Fatal error: Class LiteSpeed_Cache_ESI not found in /home/pattayaw/public_html/account1/aecnewstoday/wp-content/plugins/advanced-ads/modules/gadsense/includes/class-ad-type-adsense.php on line 63 and various other lines. Ive disabled the CDN function, but as MaxCDN and AdvancedAds coexisted harmoniously before, this appears to be generated by the litespeed CDN panel. The page I need help with: https://aecnewstoday.com/ Hi, Could you please provide a screenshot of the CDN setting ? Because if URL become like that , it looks like CDN setting incorrect. Best regards, I dont see any way to attach a screen shot maxCDN said the setup is correct. Thanks Hi, You can upload images anywhere like imgur , dropbox , google driver , or your own site , and provide link here. Best regards, Thank you https://aecnewstoday.com/wp-content/uploads/2018/10/Screen-Shot-2018-10-08-at-11.03.46-AM.png https://aecnewstoday.com/wp-content/uploads/2018/10/Screen-Shot-2018-10-08-at-11.03.36-AM.png Hi, Could you please copy/paste the CDN URL under CDN mapping ? its not showing full links in screenshot. Best regards, Hi, https://aecnewstoday-pblnhgc7sy3qcy00mosw.netdna-ssl.com/ Which MaxCDN say is okay. Note that unlike in the screen shots, gif is currently excluded, but even jpg hosted house ads do not show so have been deactivated. Thanks Hi, Please submit a ticket here. Best regards, Hi there did this ever get resolved and if so how? Hi please try the fix in https://github.com/litespeedtech/lscache_wp/commit/7b78ae9d938cce8c507b35638cfd62ff921f6616 This should be able to fix this issue.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference