paul-bjorkstrand opened a new pull request, #50:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/50

   - Update Sling API dependency to 2.24.0 (to be able to use 
`ResourceResolver#getPropertyMap()`).
   - Create a common cache holder object for all types of caches.
   - When the adaptable is a request, continue to keep only a single cache 
mapping adapter types to adaptation results.
   - When the adaptable is a resource or resource resolver, store the cache 
holder in the appropriate resource resolver's property map (this map has the 
same lifecycle as the resource resolver).
   - When the adaptable is anything else, use the "global cache".
   - When the cache holder is not global, remove the use of synchronized maps 
(moderate performance improvement since resources/resolvers should only be used 
single threaded).
   - Ensure the Request cache holder's `close()` is called when the request is 
disposed.
   - Update tests where needed.
   - Add tests for new code.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to