wpDiscuz is cached, logging in using the socials need refresh to work




Wordpress LScache Plugin: wpDiscuz is cached, logging in using the socials need refresh to work

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi team, thank you for your hard work. Ive been editing the settings of the litespeed ESI and cache to make the wpDiscuz plugin work and I really need help now as Im worried Ive been testing this one for hours. The scenario is that when I login using the social buttons from any blogs in my website, https://snipboard.io/xot4np.jpg The page will reload (successful login) but I still need to reload the page again to make the comment section work (showing that the user is logged in). So most likely this is a cache or ESI caching issue as disabling litespeed plugin will make it work flawlessly. My ESI cache settings: https://snipboard.io/hLw9sV.jpg My Cache settings: https://snipboard.io/0sKpoL.jpg Any help is highly appreciated. This topic was modified 2 years, 8 months ago by ryanjoshuadc. The page I need help with: https://www.moneyformybeer.com/business-survival-strategies-for-excruciating-economy/ Heres the report number, might also help you help me. Report number: YBNNPCEJ Hi, Could you please enable cache comment in ESI , and cache commenter in cache ? Best regards, Hi @CacheCrawler , Thank you for the reply, upon further checking it seems that your plugin is not the main cause of this need another reload issue. I noticed that this is an issue with the wpDiscuz plugin itself (or wordpress ajax) so I will continue asking it there. But yes, just to give you an idea. I tried disabling first all of my plugins. Including this one (to make really sure there is no plugin conflict). Then I investigated how the social login works in wpDiscuz. Just to give an example, I used facebook as the main debugging social login and https://www.moneyformybeer.com/wp-admin/admin-ajax.php?action=wpd_login_callback&provider=facebook This block of code redirects a cached page upon successful login. (Which should not) https://snipboard.io/qpst4V.jpg The 2nd manual reload will serve uncached page (correct as Im correctly logged in) so there is really something about this. https://snipboard.io/gNSpd5.jpg Still thank you for the reply. You can mark this resolve or if you want a status update from my end wait atleast a week so I can fix this together with wpDiscuz. Hi, Thanks for your info. I will mark this topic as resolved for the time being. But please do not hesitate to contact us again if you have any other issue that related to LSCWP. Best regards, Hi @CacheCrawler , Just to give an update for everyone. I fixed the issue by setting the max-age header of my posts to 0 (previous value is 600) and now they are working flawlessly. I will mark this now as resolved. Thanks!



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



Reference