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

Martin Grigorov resolved WICKET-4131.
-------------------------------------

    Resolution: Later

It seems there was no interest in this new resource type for 2 years now.
If you think it is still needed/useful then reopen the ticket and apply your 
patch.

> Add a non-caching RenderedDynamicImageResource
> ----------------------------------------------
>
>                 Key: WICKET-4131
>                 URL: https://issues.apache.org/jira/browse/WICKET-4131
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.2
>            Reporter: Carl-Eric Menzel
>         Attachments: 
> 0001-WICKET-4131-Add-NonCachingRenderedDynamicImageResour.patch
>
>
> RenderedDynamicImageResource ignores all cache settings and keeps its image 
> data once it has been rendered. This is not very useful for tasks like 
> rendering statistics which will be reloaded often but with identical 
> parameters, yet still need to show updated charts.
> Ideally, RenderedDynamicImageResource's getImageData() method should check 
> these cache settings, however, they are not available at that point -- please 
> correct me if I'm wrong here.
> Another option would be to simply change getImageData()'s behavior to not 
> cache anything. That might break existing code though, so I think we 
> shouldn't do that right now.
> As a fallback I propose adding a NonCachingRenderedDynamicImageResource that 
> prevents caching. This can then be used as a drop-in replacement for the 
> regular RDIR whenever caching should be avoided.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to