• Resolved yonness

    (@yonness)


    hello..
    thank you for this plugins
    But i have a issue with my woocommerce site.
    the live search is so so slow. I don’t know what’s wrong.
    Please help me to solve it.

    i debug the research in chrome inpector console and it show me :

    VM331:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at Function.n.parseJSON (jquery.js?ver=1.12.4:4)
    at Function.a.parseJSON (jquery-migrate.min.js?ver=1.4.1:2)
    at Object.transformResult (jquery.dgwt-wcas.min.js?ver=1.1.6:1)
    at Object.<anonymous> (jquery.dgwt-wcas.min.js?ver=1.1.6:1)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at y (jquery.js?ver=1.12.4:4)
    at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)
    n.parseJSON @ jquery.js?ver=1.12.4:4
    a.parseJSON @ jquery-migrate.min.js?ver=1.4.1:2
    transformResult @ jquery.dgwt-wcas.min.js?ver=1.1.6:1
    (anonymous) @ jquery.dgwt-wcas.min.js?ver=1.1.6:1
    i @ jquery.js?ver=1.12.4:2
    fireWith @ jquery.js?ver=1.12.4:2
    y @ jquery.js?ver=1.12.4:4
    c @ jquery.js?ver=1.12.4:4
    XMLHttpRequest.send (async)
    send @ jquery.js?ver=1.12.4:4
    ajax @ jquery.js?ver=1.12.4:4
    getSuggestions @ jquery.dgwt-wcas.min.js?ver=1.1.6:1
    onValueChange @ jquery.dgwt-wcas.min.js?ver=1.1.6:1
    onKeyUp @ jquery.dgwt-wcas.min.js?ver=1.1.6:1
    (anonymous) @ jquery.dgwt-wcas.min.js?ver=1.1.6:1
    dispatch @ jquery.js?ver=1.12.4:3
    r.handle @ jquery.js?ver=1.12.4:3

Viewing 1 replies (of 1 total)
  • Plugin Author Damian Góra

    (@damian-gora)

    Hi,
    At the moment the plugin is based on standard WordPress search engine (WP Query). If you have small store and fast server, this solution should be enough.

    I’m working on custom search engine that isn’t based on WP Query. There will be fuzzy search, easy to set the order and weight of products and amazing speed. I plan the major release with these features at the end of 2018.

    At the moment try to update PHP to 7.x and check your server perfomance.

Viewing 1 replies (of 1 total)
  • The topic ‘slow live search’ is closed to new replies.