WordPress.org

Ready to get started?Download WordPress

Forums

WP Find Your Nearest
[resolved] Really slow performance (3 posts)

  1. ScottMcGready
    Member
    Posted 1 year ago #

    Hi, I seem to be having quite a problem with FYN in terms of performance. I have 3,750 records and the postcode search element seems to take a good 20 - 30 seconds to filter through, any recommendations on how to speed this up?

    http://wordpress.org/extend/plugins/wp-find-your-nearest/

  2. Adam Sargant
    Member
    Plugin Author

    Posted 1 year ago #

    That is a lot of records... currently the search uses WPs own functions to query the database... for efficiency I would have to recode the search using sql directly so I could do the distance calculation as part of the sql query. This isn't something I plan to tackle at the moment

  3. ScottMcGready
    Member
    Posted 1 year ago #

    Hi Adam,

    No problem. Yeah it is a lot of records. If I get round to rewriting it then I'll give you the source. FYI I've added a feature to mark a record as a premium listing, it'll show these ones first before the others. I'll keep you posted.

    Cheers,
    S

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.