Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Woocommerce – How to make login / logout links cache independent?

    I have a problem with browser caching.

    Once logged in moving to pages visited previously as anonymous user, causes their cached version to be displayed. It means that “Log in” link will appear, despite the fact that user is already logged. Refreshing page will correct menu link, displaying “Log out”, but it can’t be a solution from user point of view.

    I have the caching plugin disabled now. I went through this issue with the hosting provider and asked them to exclude caching of pages like: /my_account/, /cart/, /checkout/ and others, but still the same situation.

    Please advise what can be the solution. How to make login / logout links cache independent?

    Hi,

    I have a problem with browser caching.

    Once logged in moving to pages visited previously as anonymous user, causes their cached version to be displayed. It means that “Log in” link will appear, despite the fact that user is already logged. Refreshing page will correct menu link, displaying “Log out”, but it can’t be a solution from user point of view.

    I have the caching plugin disabled now. I went through this issue with the hosting provider and asked them to exclude caching of pages like: /my_account/, /cart/, /checkout/ and others, but still the same situation.

    Please advise what can be the solution. How to make login / logout links cache independent?

    Thread Starter george202

    (@george202)

    I’m not using any caching plugins at this point. I tried these plugins before: LiteSpeed Cache, WP Super Cache, Autoptimize, W3 Total Cache. Where possible I disabled certain pages from caching, but I didn’t get the desired results.

Viewing 3 replies - 1 through 3 (of 3 total)