Previously cached pages show up after login
-
Hi, so I have a woocommerce store that has a simple PHP script that prevents not logged in users from seeing the price.
I also have your cache plugin turned on.So during testing I’ve noticed that if a visitor goes to the product page (before logging in), sees the products (without prices), then login and come back to the same product page, they will still have the same page that cached before they logged in (so they still can’t see the price).
I checked settings and i have enabled “Don’t cache pages for logged in users” as well as “Don’t cache pages for following user roles” for customer and subscriber roles. So this implies that after that user logs in, the proper, non cached (from before) page would show up for them.
Does anyone knows how to resolve it?
- The topic ‘Previously cached pages show up after login’ is closed to new replies.