• Resolved Bhanu Singh

    (@bhanusingh)


    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().

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    1) Please give a specific example to demonstrate exactly what your issue is.

    2) Please also advise if you’re 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 https://www.example.com/ and https://www.example.com/app2/).

    Thank you.

    Plugin Support qtwrk

    (@qtwrk)

    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,

    Thread Starter Bhanu Singh

    (@bhanusingh)

    Hey @qtwrk ,

    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/

    Thread Starter Bhanu Singh

    (@bhanusingh)

    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.

    Plugin Support qtwrk

    (@qtwrk)

    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

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I’m 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,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘php resources are not cached’ is closed to new replies.