I’im using COutputCache and I just wonder how can I refresh cache when user is logged and when user clicks “Logout”? I think there is a better way instead of saving and removing users in a table.
Thanks.
EDIT:
Also, I would like to know how can I update my blog post (example). There is a column "total_views", and If my page is cached, how can I do:
Well it’s better because of that I’ve one table with about 7 left joins, so it’s recommended. It’s not problem to create a seperate table but where to execute a query? Whole page is cached (COutputCache).