Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adapter 2.0.4
-
None
Description
Currently a call to SlingAdaptable#adaptTo is not cached. If an object is adapted to the same class over and over again (during a request) this leads to new instanz creations and makes holding state in the created objects impossible.
We could add a simple transparent cache to the SlingAdaptable to avoid these problems.