Skip to content

Script gets loaded for unused blocks in page #44

@rajmohanreddy774

Description

@rajmohanreddy774

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions