Skip to content

Idea: Reuse compiled selectors #432

Description

@Stranger6667

Right CSS is re-parsed every time a new document is processed. Alternatively, there could be an API that will accept some CSS to build reusable inlining rules and then provide a way to apply inlining to new documents without re-parsing their CSS (meaning from style tags and remote stylesheets).

Additionally, it will be nice to compile CSS rules in the way they store ancestor hashes for fast-rejection.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions