Hi Beaver Builder team,
I’m currently using Beaver Builder (version 2.9+, latest) with the VamTam Consulting theme(Latest version) . I’m trying to completely disable the generation of cached CSS/JS files by fl-builder-layout
and instead render all builder assets inline in the page’s HTML.
To achieve this, I’ve added the following filters to my theme’s functions.php:
add_filter(‘fl_builder_render_css_inline’, ‘__return_true’);
add_filter(‘fl_builder_render_js_inline’, ‘__return_true’);
add_filter(‘fl_builder_cache_enabled’, ‘__return_false’);
This seems to partially work — I can see that some assets are rendered inline. However, each time I create or update a page, Beaver Builder still generates layout-specific cache files inside the following directory:
/wp-content/uploads/bb-plugin/cache/
For example, I see:
/wp-content/uploads/bb-plugin/cache/8864-layout.css
/wp-content/uploads/bb-plugin/cache/8864-layout.js
Is there a way to fully suppress these *-layout.css
and *-layout.js
cache files?
Best regards!