How to make login / logout links cache independent?

Solution from: https://stackoverflow.com/questions/48511579/jquery-check-wordpress-logged-in-cookie was a dead end. It does not work with WooCommerce, because login is not done through standard WordPress login screen, but dedicated login form and there are no cookies accessible through JavaScript created when user logs in. I created a working solution through jQuery Ajax, though I’m not happy with result, because … Read more

Clear cache when comment is added

You would better to contact plugin author, because this is for more general wordpress stuff. In general, you can clear your cache when comment is added. There is comment_post hook. This hook will be run when the comment is submitted. To see Reference