• Resolved Generosus

    (@generosus)


    Great plugin. However, it is not reliable. Every time we enter a search term, we have to refresh the page or click the magnifying glass icon one more time to see the term highlighted. This happens with Cloudflare enabled or disabled.

    It appears this could be caused by a cache issue, so what generic URL should we exclude from caching when using your plugin? Also, what CSS selectors should we exclude from deferral? If there’s another solution available, please share ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, it sounds like this might be a conflict with your theme or another plugin. Can you share a link so I can see it live?

    Thread Starter Generosus

    (@generosus)

    Hi @ravanh,

    Thanks for the prompt reply. Yes, since our initial posting, it looks like there’s a conflict with another cache/performance plugin.

    Let us do more testing. We’ll get back to you with details once we complete our tests.

    Again, thank you.

    Thread Starter Generosus

    (@generosus)

    Hi @ravanh,

    As you suspected, we completed our testing and confirmed that our issue was caused by a conflict with the plugin, Perfmatters. A great plugin, by the way.

    The issue was solved after disabling the plugin’s Delay JS and RUCSS features on our search result pages via a code snippet provided by the developers of the plugin. Their support is phenomenal.

    For future reference, this is the code snippet they provided:

    add_filter('perfmatters_delay_js', 'perfmatters_disable_on_search');
    add_filter('perfmatters_remove_unused_css', 'perfmatters_disable_on_search');
    function perfmatters_disable_on_search($bool) {
    if(is_search()) {
    return false;
    }
    return $bool;
    }

    (Note: The above code snippet should work with all themes. We’re using the Avada theme)

    Give it a spin using the sample word “Drone” (or any other).

    Cheers ??

    Hi @generosus great to hear you were able to solve the issue. Thank you for sharing the fix and you review ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Does Not Work Unless Page is Refreshed’ is closed to new replies.