Wordpress LScache Plugin: Unable to exclude from cache.
Last Updated on: Wed, 15 Apr 2026 00:00:02 We experienced an issue where our cssjs folder was growing rapidly in size. Our host follow steps shown here to diagnose the issue: https://docs.litespeedtech.com/lscache/lscwp/ts-optimize/#disk-space-filling-fast Weve disabled in LiteSpeed Cache WordPress plugin > Page Optimisation > CSS and JS settings > CSS Combine External and Inline and JS Combine External and Inline. We had to do this because this plugin https://wordpress.org/plugins/woo-product-feed-pro/ was adding a pixel tracking code with a unique reference in it for each page. Ive removed some parts of this for security. console.log( Facebook Pixel by AdTribes.io - 3 ) !function(f,b,e,v,n,t,s) if(f.fbq)return n=f.fbq=function() n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments) if(!f._fbq)f._fbq=n n.push=n n.loaded=!0 n.version=2.0 n.queue=[] t=b.createElement(e) t.async=!0 t.src=v s=b.getElementsByTagName(e)[0] s.parentNode.insertBefore(t,s) (window, document,script, https://connect.facebook.net/en_US/fbevents.js) fbq( init , UNIQUE ID ) fbq( track , PageView ) fbq( track , ViewContent , content_category: iMac 27-inch 2019,Refurbished 27 Inch iMac,Refurbished iMac,Stock List , content_name: Apple iMac Slim 27 Inch 5K Retina 6-Core i5 3.00 GHz (2019) , content_type: product , content_ids:[ 1306517 ], value: 1525 , currency: GBP eventID: EVENT ID ) Expand I contacted the dev who stated that they create a unique Facebook event ID to deduplicate events with the Facebook pixel and conversions API. The eventID is different per use per page. The plugin puts in the JS dynamically in our website pages. As the Facebook pixel is not a separate JS script you can exclude, it is embed in the page generation itself. Is there any solution to be able to exclude this from the cache so we can re-enable CSS Combine External and Inline and JS Combine External and Inline. The page I need help with: https://macfinder.co.uk/ please try use key word facebook in the JS exclude field , save and purge all
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference