In our AEM instance we are getting data from an external system, per user this data is the same during his session. So it make sense to store this data in their session / cache or something like that. With another CMS we used before we always stored such data in the session.
Is that also the right solution here for AEM 6.1 or are there better alternatives?
Call 1 that needs to be stored: Size in bytes: 34597
Call 2 that needs to be stored: Size in bytes: 2201
AEM works on stateless !! So if you use session in AEM, then you may have to think about 'Sticky Sessions' so you dont loose your session data ! Using cache is also one of the solution but it depends on your usecase and application architecture.
AEM works on stateless !! So if you use session in AEM, then you may have to think about 'Sticky Sessions' so you dont loose your session data ! Using cache is also one of the solution but it depends on your usecase and application architecture.