Plugin Support
qtwrk
(@qtwrk)
Hi,
list : https://github.com/litespeedtech/lscache_wp/blob/master/data/const.default.ini
how to :
if (strpos($_SERVER['REQUEST_URI'], "my-special-page") !== false)
define( 'LITESPEED_CONF', true );
define( 'LITESPEED_CONF__OPTM__CSS_MIN', false );
}
explanation:
if (strpos($_SERVER['REQUEST_URI'], "my-special-page") !== false) you can do some condition check to make it only apply to check page pages or certain condition, in this case , it happens when page URI contains string my-special-page
define( 'LITESPEED_CONF', true ); this one must be added
define( 'LITESPEED_CONF__OPTM__CSS_MIN', false ); -> false means disable , so this set will disable CSS minify when conditional is meet
here is the tricky part , in the .ini page , it comes optm-css_min = false
you need to change a bit from optm-css_min to OPTM__CSS_MIN , where - changes to __ , and all comes to capital letter
Best regards,