Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19301

Clean (purge) cache after user login/logout

$
0
0

Replies: 2

Hi, I’d like to cache my WordPress site. I have the website connected to phpBB and the user can log in using the form which then sends an AJAX request and refreshes the page. The problem is when I navigate to pages that have already been visited before the user logged in. Those pages are cached as a non-logged in user. So my solution idea is: clean the cache after user logs in or logs out.

Can I do that programatically? I haven’t found any documentation on this. What’s the best way to do that please?

P.S. My site will be running on HTTPS and as a subsite of multisite.

  • This topic was modified 5 hours, 35 minutes ago by Jakub.
  • This topic was modified 5 hours, 24 minutes ago by Jakub.

Viewing all articles
Browse latest Browse all 19301

Trending Articles