I want to run a custom logic, before the page life-cycle, to decide what version of a cached page I want to serve to the user.
Example:
If the user is not logged, then I go to a cache dictionary, catch a version A of the page and serve to the user. Otherwise, if it's logged, then I'll see if I already cached a version of the page specific to that user. If a particular cached version doesn't exist yet, I'll let the life-cycle to complete and then I'll save it.
What I want is to manage different versions of a page and to determine whether a version or another should be served.