[ 
https://issues.apache.org/jira/browse/WICKET-6051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15057387#comment-15057387
 ] 

Rakesh A commented on WICKET-6051:
----------------------------------

Making this class singleton might be better, but doing it now will result an 
API break.

> Improve performance of CssUrlReplacer
> -------------------------------------
>
>                 Key: WICKET-6051
>                 URL: https://issues.apache.org/jira/browse/WICKET-6051
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.20.0
>            Reporter: Rakesh A
>         Attachments: CssUrlReplacer.java
>
>
> Implementation of org.apache.wicket.resource.CssUrlReplacer (if enabled), 
> might affect performance, and increase the loading time of CSS files, if they 
> contain many background-image properties with 'url()' values. 
> In one instance, it took 18sec to process a CSS file with 663 instances of 
> 'url()'.
> It might help, if we add option to specify 'exclusions' with certain CSS 
> resources.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to