You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2016/01/03 16:08:39 UTC

[jira] [Closed] (WICKET-6061) Improved PackageResource#getCacheKey

     [ https://issues.apache.org/jira/browse/WICKET-6061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Del Bene closed WICKET-6061.
-----------------------------------
    Resolution: Fixed

> Improved PackageResource#getCacheKey
> ------------------------------------
>
>                 Key: WICKET-6061
>                 URL: https://issues.apache.org/jira/browse/WICKET-6061
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 7.1.0, 8.0.0-M1
>            Reporter: Andrea Del Bene
>            Assignee: Andrea Del Bene
>             Fix For: 7.2.0, 8.0.0-M1
>
>
> Method 'getCacheKey' (which is called multiple times for each request) indirectly calls internalGetResourceStream to check if package resource exists. For this purpose we should use instead static method 'exists', which is lighter than internalGetResourceStream.



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