[jira] [Created] (SLING-8693) Additional support for Anonymous v/s loggedin user experiences

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (SLING-8693) Additional support for Anonymous v/s loggedin user experiences

Andrei Shilov (Jira)
Mayank Arora created SLING-8693:
-----------------------------------

             Summary: Additional support for Anonymous v/s loggedin user experiences
                 Key: SLING-8693
                 URL: https://issues.apache.org/jira/browse/SLING-8693
             Project: Sling
          Issue Type: Improvement
            Reporter: Mayank Arora


I am using SDI heavily for my current project but unable to achieve a usecase.  Not sure if this is currently a product gap or something not covered in documentation.

Usecase is that there is a dynamic component on a page for which content is personalized per logged-in user and returned from an API. So, I have specified no-cache for this component (resource type) in SDI config.

A variation of this usecase is if the User is not logged in, then all anonymous users see static/authored content for this component, which we want to cache. Traffic we are seeing is 50% anonymous v/s logged-in users, so there is a great benefit if we can cache static/authored content for this component for anonymous users. As per SDI configuration, I am unable to find a way where for this component (specific resourceType), using SSI, I can achieve no-cache for logged-in users v/s cache for anonymous users.

Logging this as a feature request / documentation update request. Is this . usecase currently possible in SDI?



--
This message was sent by Atlassian Jira
(v8.3.2#803003)