Issue Description
Scripts are being loaded for blocks even when they are not used on the page.
Expected Behavior
Scripts should only be loaded when the corresponding block or extension is actually used on the page.
Current Behavior
Scripts get loaded regardless of whether the block is present on the page or not.
Suggested Improvement
Implement conditional script loading to avoid loading unnecessary scripts unless the specific block or extension is being used on the page. This would improve page performance and reduce unnecessary resource loading.
Issue Description
Scripts are being loaded for blocks even when they are not used on the page.
Expected Behavior
Scripts should only be loaded when the corresponding block or extension is actually used on the page.
Current Behavior
Scripts get loaded regardless of whether the block is present on the page or not.
Suggested Improvement
Implement conditional script loading to avoid loading unnecessary scripts unless the specific block or extension is being used on the page. This would improve page performance and reduce unnecessary resource loading.