Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8693

Additional support for Anonymous v/s loggedin user experiences

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Dynamic Include 3.3.0
    • Component/s: Extensions
    • Labels:
      None

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mayank.arora Mayank Arora
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: