Wordpress LScache Plugin: How to asynchronous load js for certain js?
Last Updated on: Wed, 15 Apr 2026 00:00:02 One of my plugins load fbevens.js from facebook everytime. But my Chniese visitors are banned for Facebook, which may their visits very slow during to waiting for timeout of fbevens.js. In WP-Opitimize I can set up asynchronous load js file I specified. It works well. But I prefer to use Litespeed Is anywhere I can set up this in Litespeed cache? Hi, unfortunately it works other way around in LSCWP you can only defer them all , then exclude certain item out of it , but not just only defer certain item while keep others not to best thing I can think of is just like you enable that options , then exclude all other JS from being deferred Best regards, OK. One more question: How to use shortcode to specify shortcode pairs. Your document only mention use esi like [esi cache= private vc_row] But I have a shortcode pair[vc_row] contents [/vc_row] only modify [vc_row] to [esi cache= private vc_row] will leave [/vc_row] unpaired and does not work. To be more specificed, I am using a Plug-in named Custom Content by Country that hides some elements on my home page accordign to i p& country. I diasble youtube video block for Chinese visitors as they are banned for Youtube. CBC is the short code of Custom Content by Country. vc_row are code of visual composer. [vc_row][vc_column offset= vc_hidden-xs ][CBC show= n country= cn ][rev_slider slidertitle= Slider 1 alias= slider-1 ][/CBC][/vc_column][/vc_row] since you have other topic for this shortcode thing , I will mark this one as closed
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference