MetaSlider LiteSpeed Cache conflict




Wordpress LScache Plugin: MetaSlider LiteSpeed Cache conflict

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hello, I am using Metaslider to randomly display an image from a slideshow on one of my pages by checking the random box in the Metaslider advanced settings. This didnt work until I disabled my LiteSpeed Cache plugin. I dont know much about caching. Would there be any setting in my LiteSpeed Cache plugin that I can change that would allow the Metaslider random setting to work? Thank You Hi @garydgshea, could you please provide?your Report Number, found in?WP Admin > LiteSpeed Cache > Report. Also, could you try to backup all your setting on LiteSpeed Import/Export > Export and then LiteSpeed Import/Export > Reset All Settings to see does it help? Thank you for your response. I tried doing a reset but random images in Metaslider still doesnt work. The report number is XXLTHQWP Hi @garydgshea, just checked the MetaSlider is randomly assigned image on the backend, so you need to convert the shortcode to ESI and make the shortcode TTL to 0 for non-cache(or any TTL for shorter cache), for example: [esi metaslider id=217 ttl=0 ] But its a little bit tricky that MetaSlider will run wp_enqueue_style and wp_enqueue_scripts which not work on ESI. Heres a quick solution, create the same shortcode on the same page without ESI and hidden it, for example: [metaslider id=217 ] Please try and see dose it works on your site. We will also let you know if found any easier method to load the script. Thanks! I will try it.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference