Skip to content

Inline bundle rendering #104

Closed
Closed
@IlyaSemenov

Description

@IlyaSemenov

That would be great to allow rendering bundles inline rather than linking to them. This will speed up page loading for smaller bundles (e.g. having facebook/twitter sharing scripts combined into a single bundle).

For example, the following syntax:

{% render_bundle 'social' 'js' inline=True %}

would emit:

<script type="text/javascript">
// here goes the content of social.e9e35ae5.js
</script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions