Caching two versions of same page in Dispatcher
Is it possible to cache two versions of the same page in Dispatcher. Akamai provides this capability called the dynamic page caching where they can have two versions of same page and based on some logic they will return one of them.
We cache our pages in Akamai. We have two kinds of users: cookied and non-cookied and they are shown different content on same page. When the page is sent to the browser from Akamai we run a JS code to determine the cookie value and if based on that we either show the cookied content or non-cookied content.
We want to change this so that browser is sent only the correct content. Now akamai can cache two versions of the same page based on cookie/non-cookie but we are not sure if Dispatcher has this capability??