You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Thomas Heigl (Jira)" <ji...@apache.org> on 2023/04/17 05:50:00 UTC

[jira] [Created] (WICKET-7049) Avoid allocation for empty buckets in FilteringHeaderResponse

Thomas Heigl created WICKET-7049:
------------------------------------

             Summary: Avoid allocation for empty buckets in FilteringHeaderResponse
                 Key: WICKET-7049
                 URL: https://issues.apache.org/jira/browse/WICKET-7049
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-core
    Affects Versions: 9.12.0
            Reporter: Thomas Heigl
            Assignee: Thomas Heigl


FilteringHeaderResponse currently allocates a new StringResponse for every header bucket. In ajax requests, these buckets are almost always empty in our case. We should use LazyStringResponse in this case to prevent allocating the underlying string buffer.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)