• Resolved 19ash82

    (@19ash82)


    Hi there,

    I’ve got LS cache installed with a shared hosting using Litespeed ADC.

    All is well but many times I get a LS-cache miss at header level & I’d like to warm the cache. My hosting does not allow your crawler.

    I have a plugin ((Cache warmer) which can do this but it asks for the User Agents.

    What user agents would LS cache recognize please ?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support qtwrk

    (@qtwrk)

    you can use any normal Chrome header for that purpose

    if you have enable webp replacement, you need to add accept: image/webp as well , if you enabled mobile cache , you need to add mobile as keyword in user agent

    Thread Starter 19ash82

    (@19ash82)

    Awesome. .Thanks.

    Would I need to add something if I use guest mode in the future ?

    Plugin Support qtwrk

    (@qtwrk)

    yes, it needs a cookie , you need to extract it from your real browser , each site is different

    Thread Starter 19ash82

    (@19ash82)

    Hi,

    I need to activate guest mode in Litespeed before downloading this cookie ?

    When I click on download the cookie, the plugin tells me that :

    ” Are you sure ?If another administrator user visits this page, they can use your inserted cookies to log in to your account on this site.”

    Is this common ? (I know it’s not your plugin and I’d be grateful for a feedback

    • This reply was modified 1 year, 2 months ago by 19ash82.
    Plugin Support qtwrk

    (@qtwrk)

    no no no , not the wp login cookie , the one created by LSCWP

    you can see it in guest.vary.php response header, somethign like below , the hash is unique per site , that’s the part you need to extract

    Set-Cookie:
    _lscache_vary=02494a3302f4bd4a4b58bc409fb33bac; expires=Fri, 22-Sep-2023 00:58:24 GMT; Max-Age=172800; path=/; secure; HttpOnly

    Thread Starter 19ash82

    (@19ash82)

    Awesome.. Thank you so much !!!

    zonic1987

    (@zonic1987)

    Hello, can you write your user agent with cookie in guest mode? I have the same problem. My host provider doesn’t support LScache crawlers.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘User agents for Cache warmer’ is closed to new replies.