Skip to content

ThymeleafViewFunctions serialize. Deprecate and remove them #25

@rymsha

Description

@rymsha

For background see enonic/xp#8448

Due to how Thymeleaf calls functions from templates they tend to serialize.
Example: imageUrl takes 5 milliseconds to return and 100 users open the same page. Requests will be serialized and last user will get the result in 500 milliseconds.

There is a better alternative: call portal functions from a controller and pass a results via model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions