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.