1. CYBER MONDAY SALE All Access Pass @ $59 / Lifetime & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Issues with LiteSpeed and Divi 5 Dynamic CSS - Can you disable it?

Discussion in 'Free Divi Community Forum' started by fish128, Nov 21, 2025.

  1. fish128

    fish128 New Member

    Hi! I am using the latest beta version of Divi 5 on Litespeed server using the Wordpress plugin.
    I am having an issue where two scripts that are loading dynamic css files fail to load it as they cannot find it.
    This results on css not loading and broken pages. When using combine via the LiteSpeed plugin the css files are loading ok but still I have a js error 'Cannot read properties of null (reading 'parentNode')' - when the script is searching for the non-existent file. This do not happen all the time but with few visits of pages it starts to happen to a lot of them. I have checked and the files it looks it the et-cache folder indeed are not there. Probably the script calls for them before they are created and it is probably some caching issue with Litespeed.
    Before Divi had the option to disable the dynamic css feature but currently with Divi5 I don't see such option.
    I tried few functions.php codes to stop it but it does not work and this js is still calling non-existent files. I tried one that I think managed to stop all dynamic assets features but I want to keep the rest - just remove the dynamic css. Is this possible? Is this happening to you too? Any Lite speed settings fixes? I don't want to stop using the plugin altogether. Thank you!
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Modern & powerful Agency Divi layout pack, featuring team carousel, sliding menu, etc.View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    It's best for you to report the issue to official Divi support & see what they say: https://www.elegantthemes.com/members-area/help/

    **Most likely it's a Static CSS File cache issue, but in Divi 5 somehow they removed that option in alpha & beta version, and it's set to be on always. Not sure if they will bring it back when Divi 5 officially launched.
     
  3. fish128

    fish128 New Member

    Yes the issue is very weird - I tried to disable caching of the whole et-cache folder, including adding the no-cache headers. The problem still occurs from time to time - It seems to affect only WooCommerce categories as it's seems to remove the folder wp-content/et-cache/taxonomy which holds those files. After clearing of the cache the folder is populated again. If anybody has this problem please write or if you have any solution.
     
    1. PRO MEMBER PERKS Divi Ultimate Blog Plugin - Easily set awesome default design for your Divi single blog page:Learn More