How to implement a paywall (lead-in) content on a page
As part of a site we have a login/subscription model that will restict content visibility to the end users.
We want to implement this as a paywall (lead-in) functionality. i.e. when i am logged out/web crawler/logged in but not with the right subscription, then you only see a small portion of the content on the page so that the site can still be crawled by
We want to do this in a way that the page in AEM has all of the content that can be visible, and we want to make using of dispatcher caching of the content.
We don't want to use a javascript function to hide the content as you can inspect the spite, or view page source to get the entire content which will violate the subscription model.
Is there any way within the dispatcher of caching different versions based on the users access, or a way to have a cached response based on the cug groups.