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

Thiago Henrique De Paula Figueiredo commented on TAP5-2756:
-----------------------------------------------------------

A new service was created, PageCachingReferenceTypeService, which is defined of 
a chain of instances of itself. It has one method, get(String 
canonicalPageName), which should return a ReferenceType, an enum with values 
SOFT and STRONG, or null (i.e. this implementation doesn't handle this page). 
Default is using soft references.

> Allow developers define whether a page should be cached as a soft reference 
> or not
> ----------------------------------------------------------------------------------
>
>                 Key: TAP5-2756
>                 URL: https://issues.apache.org/jira/browse/TAP5-2756
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Thiago Henrique De Paula Figueiredo
>            Assignee: Thiago Henrique De Paula Figueiredo
>            Priority: Minor
>             Fix For: 5.8.3
>
>
> This ticket is the result of a discussion on the Tapestry mailing list about 
> the consequences of caching page instances using soft references instead of 
> regular ones: 
> https://lists.apache.org/thread/5qbyg0mfscg9qj6jho9899rh4r0kz97z. The goal 
> here is to allow the developer to define which pages should be cached as soft 
> references (the default) or regular ones.



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

Reply via email to