Problem with Caching Admin Bar not recognising login status




Wordpress LScache Plugin: Problem with Caching Admin Bar not recognising login status

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi there, We display the WP Admin Bar for all users whether logged in or not. There are BuddyPress and bbPress plugins active. With the 1.2 release of LiteSpeed Cache plugin there appears to be an issue with the caching WP admin bar (at least on my site). With LS cache plugin active and Admin Bar cache enabled, the Admin Bar does not always appear to recognise the correct login status of the user. Sometimes if the user is logged in, be Admin Bar wont display the correct information for logged in users. Instead the Admin Bar shows the log in link, though the user is actually logged in. When we navigate between pages, sometimes the Admin Bar is correct and sometimes not. Disabling the Admin Bar cache does not solve this problem. Only deactivating the plugin solves the problem. This topic was modified 5 years, 2 months ago by James Maiden. Reason: further testing revealed a different issue Hi @reallygreenjames, I guess if you disable ESI but keep plugin activated, the problem can be solved too? Do you mind to paste your url or create a ticket so we can have a deeper check? Thanks Thanks for your reply. As it happens, disabling ESI does not help. But I am finding it difficult to reproduce on our dev version of the site, so I will try to eliminate any other potential conflicts and get back to you if I need to. Glad to hear that. Admin bar only shows in ESI for those who has admin bar permission. Hi, @reallygreenjames We havent heard back from you, so were going to mark this issue as Resolved. If you are still having a problem and need our assistance, please leave a reply and well re-open the case. Thanks! Hi there, Im still having this problem and Ive recreated it on my dev site. Ive opened a ticket in my LiteSpeed control panel for you to connect with and site access details: #790541 ? Cache plugin for WP ? problem with admin bar not changing to reflect logged in status Thanks for any help you can give. Thanks, James. The support team will continue the conversation over there, then It is a compatibility issue with contact form 7 refill ajax call. We are trying to fix it and include it in tomorrows release.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference