Troubleshooting CDN Issues

You can narrow down CDN issues through the following steps:

  • Visit the CDN URL and verify that it is accessible
  • Check your CDN settings
  • View Page Source, and verify that links are indeed pointing to the CDN URL.

Bypass CDN in AJAX

If you have a conflict, and you need to bypass CDN functions in AJAX, you can either add some code to your theme's functions.php, or you can call the appropriate filter when using AJAX.

In the Theme's Functions

Add the following to your theme's functions.php file:

defined( 'DOING_AJAX' ) && add_filter( 'litespeed_can_cdn', '__return_false' );

Call the Filter

When using AJAX, you can call the above filter, and return false.

Last update: August 11, 2020