This is an old revision of the document!
If there's any reason like conflict and you need to bypass CDN or optimize, you can use following method
- In your theme's
functions.php
:- To bypass CDN
defined( 'DOING_AJAX' ) && add_filter( 'litespeed_can_cdn', '__return_false' );
- To bypass Optimize
defined( 'DOING_AJAX' ) && add_filter( 'litespeed_can_optm', '__return_false' );
- Or call the filter when using AJAX and return false to bypass CDN/Optimize