Hi,
I wanted to cache my homepage (domain.com). I wanted to use COutputCache as a filter. This would be a perfect solution, but in the top-right corner I have login bar:
if user is a quest, it shows "log in" link
if user is logged in, it shows "my account (dynamic username)"
I can’t just cache it, neither just vary it by standard methods.
What I want is
-
a minimal version: just cache anonymous homepage, and recaluclate all page, if someone is logged in
-
a better version: cache almost whole homepage, except this login bar, which should be calculated dynamically
regards,
Augustin