Skip to content

Rewrite CssLinkResourceTransformer for a single pass memory efficient parsingΒ #37348

Closed

Description

@bclozel

The current implementations of the CssLinkParser (used in the static resources transformer chain) scans the bytes and rewrites portions of the CSS bytes in phases.
We should rewrite this existing parser into a single pass, byte-by-byte parser, that behaves better with edge cases in terms of performance and memory.

Activity

  1. added this to the 7.1.0-RC1 milestone on Sep 29, 2026
  2. self-assigned this
    on Sep 29, 2026
  3. added
    in: webIssues in web modules (web, webmvc, webflux, websocket)
    on Sep 29, 2026
  4. changed the title [-]Rewrite CssLinkParser for single pass, memory efficient parsing[/-] [+]Rewrite CssLinkTransformer for a single pass memory efficient parsing[/+] on Sep 29, 2026
  5. changed the title [-]Rewrite CssLinkTransformer for a single pass memory efficient parsing[/-] [+]Rewrite CssLinkResourceTransformer for a single pass memory efficient parsing[/+] on Sep 29, 2026
  6. added a commit that references this issue on Sep 29, 2026
    ebef12d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions