• Resolved gorneman

    (@gorneman)


    Hi, I have enabled litespeed cache plugin and I have problem with two widget on my site. I have tried to exclude the css files used by them but no luck. Is possible to exclude elements using div id or something similar? thanks

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi, gorneman

    Have you enabled ESI?

    With ESI enabled, you can then turn your widgets into ESI blocks and configure them to be uncached. Here’s a blog post that explains everything.

    Let us know if this doesn’t solve your problem!

    Thread Starter gorneman

    (@gorneman)

    thanks for the hint, but there is still some problems. I use WP Bakery, I modified the code following the steps in the wiki to support ESI, but toggles in some WPBakery widgets don’t work becuse the css style can’t be changed by code (es: display:none to display:block). Excluding css files from optimizization gives no result. Thanks a lot for the support.
    P.S: Is there a way to ESIfy the problematic WPbakery widget ?

    • This reply was modified 8 years, 5 months ago by gorneman.
    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Is the WPBakery widget listed in the Appearance > Widgets section? If so, you can configure ESI right in the widget settings. Set the TTL to ‘0’ to make the widget uncached.

    If that works, will it solve the whole problem, or is the WPBakery widget a separate issue?

    Thread Starter gorneman

    (@gorneman)

    No, It is a separate problem. enabling ESI solves (almost) the problem with widget in footer. WPbakery widget is visible when I create/modify a page. thanks

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    So the problem is with widgets in your footer?
    And you tried the suggestions to enable them as ESI blocks in Appearance > Widgets?

    If you have done so and there are still problems, we’ll need some more information. For starters, which widgets are they?

    Thread Starter gorneman

    (@gorneman)

    No problem with footer widget, ESI solves it.
    I have a problem with WPbakery FAQ widget that use accordion effect. If litespeed effect is enabled, accordion effect doesn’t work. Accordion effect is created with a control that change display: none to display:block. I can not understand how exclude this control from cache. Thanks for the help. Litespeed works great apart this little problem.

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    I understand the problem now and I see why you wanted to try to exclude the CSS. I believe it’s actually JavaScript that is controlling the widget’s behavior, but even so, we don’t cache static content (like CSS and JS) and so excluding them would have no effect.

    I apologize – I’m not very familiar with WPBakery – but is the FAQ widget something that you can find in Appearance > Widgets? And if so, have you tried editing the ESI options there?

    If that doesn’t solve the problem, we’ll need a closer look at your settings and such. In that case, you can provide us with a copy of your environment report: Navigate to LiteSpeed Cache > Report, press the Send to LiteSpeed button, make note of the “Report Number”, and then post the number here so we can look it up.

    We do know that there are compatibility issues with WPBakery, so it may just be down to that. I know you tried to add the code from our wiki in order to address the incompatibility, but perhaps there’s a typo or some other error with that. Either way, more information (like that report) will help us get to the bottom of it.

    Thanks!

    Thread Starter gorneman

    (@gorneman)

    Report number is YKTSCLHF. Thanks.
    I think wpbakery developers should collaborate with you to improve both plugins

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    We’ve been in touch with them previously, but they haven’t taken our suggestion yet. Hopefully we can work together at some point.

    Thank you for the report number. We’ll have a look on our end and let you know if we need any more info.

    Thread Starter gorneman

    (@gorneman)

    Hi, I solved the problem : autoHeight in Owl Carousel (in Firefox). After you enable litespeed, Owl Carousel can’t calculate the right height of the elements, but if you add in code autoWidth also, the problem is fixed. Thanks for the support

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    I am so glad to hear this. Thanks for letting everyone know the solution!

    Thread Starter gorneman

    (@gorneman)

    no, I’m sorry but this solution not works, I think it worked. In Chrome works

    Thread Starter gorneman

    (@gorneman)

    Using imagesLoaded jquery plugin before Owl.carousel works.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘exclude divs by id’ is closed to new replies.