• Resolved isabeljev

    (@isabeljev)


    Hi, I need some help with LiteSpeed Cache and a conflict with the Search / Filter plugin by YMC.

    Here’s what I’ve tried so far:

    • I excluded the main JS file that the plugin developer recommended (/wp-content/plugins/ymc-smart-filters/includes/assets/js/script.min.js).
    • I also reduced the TTL values (previously they were 1 week).
    • I asked in the plugin support forum about the nonce issue, since it seems related to token expiration.

    The situation is:

    • After purging the cache, the results grid of the filters works fine.
    • But after some time (sometimes around 24h, sometimes even just 30 minutes), the grid disappears and no results are displayed until I purge the cache again.

    The only workaround that actually works is to exclude the entire homepage from caching, but since the module is located on the homepage, this is not ideal because it removes all optimization benefits.

    Could you please advise what would be the best way to handle this?
    Maybe there is a recommended approach with nonces or using ESI configuration for dynamic AJAX modules, so that the homepage can still be cached but the filters continue working?

    Thanks in advance for your guidance!

Viewing 1 replies (of 1 total)
  • Plugin Support qtwrk

    (@qtwrk)

    this sounds like a nonce issue , have you tried to identify its nonce and add it into ESI nonce list ?

Viewing 1 replies (of 1 total)

The topic ‘Conflict between LiteSpeed Cache andSearch Filter plugin’ is closed to new replies.