php resources are not cached




Wordpress LScache Plugin: php resources are not cached

Last Updated on: Wed, 15 Apr 2026 00:00:02
I have OpenLiteSpeed installed on digital ocean droplet and having issues with php caching. I have my ESI and Private cache off, but somehow when the user is logged in I get wrong old user id being thrown which was recently logged in. It is somehow caching and throwing old data when using : get_current_user_id(). Hi, 1) Please give a specific example to demonstrate exactly what your issue is. 2) Please also advise if youre having multiple web applications with LSCache plugin enabled on the same document root with one app being served from a subdirectory of another (as in http://www.example.com/ and http://www.example.com/app2/). Thank you. Hi, 1. please check HTTP response header , what do you see on x-litespeed-cache header 2. Did you enable object cache ? if so , try it off Best regards, Hey @CacheCrawler , 1. The header for litespeed are: x-litespeed-cache: hit x-turbo-charged-by: LiteSpeed 2. Yes the object cache is off. The page of concern is : https://agency.krenovate.com/career/project-research-intern/ Hey @tenkstars So I have this page : https://agency.krenovate.com/career/project-research-intern/ Where the user can login using LinkedIn and apply for the post. The issue that I am facing is, when someone logs in, the submission area shows details of someone else, which I think is because of cache as when purging the issue goes away, but after some time it comes back. We are using : Social Login, Social Sharing by miniOrange for logging the user in. okay, so your issue is like PHP is cached , instead of , as title said , not cached please check/post the cookie name list when you login by LinkedIn Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. When re-open it, please also change the topic status to not solved Best regards,



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



Reference