Support » Plugin: LiteSpeed Cache » V4 Lazy Load Html Selector

  • Resolved RC Verma

    (@rcverma)


    I want to Lazy load some elements like Comments & Footer Area in this new very of Litespeed Cache.

    So how i can do it.

    Report number: DPZEQLLT

    Report date: 05/13/2021 07:36:29

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

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

    (@qtwrk)

    Hi,

    unfortunately LSCWP doesn’t support such function

    Best regards,

    Thread Starter RC Verma

    (@rcverma)

    But i am talking about LSCWP V4 Version in this version it has HTML Lazy loading Section
    Setting can be found in
    Page Optimisation -> HTML Setting -> HTML Lazyload Selectors
    Kindly Check & help me on this.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    in that case , go to element in dev tool , choose the element , right click , choose “copy selector”

    as my screenshot

    Best regards,

    Thread Starter RC Verma

    (@rcverma)

    Ohk Thanks
    So, For Comments its “#comments”
    & footer it is showing to me like “body > div.rh-outer-wrap > div.footer-bottom.dark_style”
    So is this correct.
    & how i am gonna test it that these selectors are working. & they are loading as lazy load.

    Plugin Support qtwrk

    (@qtwrk)

    the copy botton will give you whatever that is

    like

    #wiget

    #comments

    you can try set the network connection to slow mobile and test it

    Thread Starter RC Verma

    (@rcverma)

    Yes i got it
    1. I did the same just wanted to confirm like i want to lazy load footer
    So i just found this from selectors “body > div.rh-outer-wrap > div.footer-bottom.dark_style”
    So was confirming that is it right or not.

    2. Can i use this Beta V4 Version on Live site or need to wait until its final release.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    1) yes , choose the part from element tab , it should be like #xxx

    2) if it’s not critical site, otherwise better wait for stable release.

    best regards,

    Thread Starter RC Verma

    (@rcverma)

    Hi,
    Can you look at it like does i have picked up right selector for footer.
    & i tested but not able to understand that is it really lazy loading or not.
    For comments i am using selector as #comments
    For Footer i am confused
    .footer-bottom
    .footer-bottom.dark_style
    which one is correct
    Cause i tested as you said but not able to find that selected element as lazy loading.

    Report number: WKLIVCAT

    Report date: 05/15/2021 08:01:32

    • This reply was modified 2 months, 2 weeks ago by RC Verma.
    Thread Starter RC Verma

    (@rcverma)

    Was waiting for the reply.

    Plugin Support Hai Zheng⚡

    (@hailite)

    There isn’t many ways to validate if its lazyloaded or not. One way is you can notice the scrollbar will give a tiny shift when you scroll down.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.