We are using session based check to determine if a request should have access to a resource. This is causing massive performance hit on our instance when the load becomes slightly higher (it is relative as we have many sites hosted and have adequate infra for on-prem instance).
We are referring - https://experienceleague.adobe.com/en/docs/experience-manager-dispatcher/using/configuring/permissio...
Performance hit seems to be coming when requests are higher to check the permission and we are using session to check the permission -
session.checkPermission(uri, Session.ACTION_READ);
Is there a better alternative to this approach without breaking it functionally?
thanks.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Background Job (Scheduler or Event-Driven):
AuthChecker Servlet:
Fallback:
Views
Replies
Total Likes
@Srinath_A - Thanks for your response.
We have pages which may have CUGs applied to them and we have multiple sites (100s at-least) and there could be different scenarios with CUGs applied to them.
I don't see the approach you have suggested to work very well for us.
thanks.
Views
Replies
Total Likes
Views
Likes
Replies