Skip to content

Thymeleaf is slow to generate links when webjars-locator-lite is used #34531

@maio

Description

@maio

This repository reproduces the problem: https://github.com/maio/repro-thymeleaf-slow-urls-problem

When @{...} syntax is used and project contains org.webjars:webjars-locator-lite dependency, it takes much more time to generate resulting HTML.

A lot of time is being spent in ResourceUrlEncodingFilter.ResourceUrlEncodingResponseWrapper#encodeURL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: webIssues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions