Hi. I am working on a site that forces people to register to make a comment, and so therefore, there are lots of registered users that are browsing the site.
As I understand it, "don't cache pages for known users" should always be checked, ie. I'm not even sure why it is an option to uncheck it, but I suppose someone asked somewhere along the way.
I would like to check the box that says "make known users anonymous" which fixes the caching for reading, and I have some javascript that does the right thing for showing the authenticated comment box, whether you are logged in or not, etc.
But, I was surprised to find out that supercache is removing the wp_logged_in_XXX cookie when POSTing to wp-comments-post.php. I think that behavior should be changed.
I am not familiar enough with wordpress to know if there are other pages that shouldn't ever be made anonymous, but I think it would be safe to add that check in wp_supercache_cache_for_admins().
I haven't tried it yet, but I'm thinking it is just a:
if($_SERVER["REQUEST_URI"] == "/wp-comments-post.php")
return $cookies;
sort of thing.
Does that make sense?