Skip to content

Group common scripts #44

Description

@joshbetz

Concat can be a little overzealous in cases where a script or style is enqueued conditionally. Say a script is used on one page. Ideally we wouldn't serve a different Javascript bundle on that page that is the same as every other page with the one extra script added. The bundle that loads on every other page is most likely already cached in the user's browser. We really just need to serve the additional script separately (or maybe inline?).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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