Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Shamalli

    (@mihail-chepovskiy)

    Looks like you have performance problems with your server. Try to ask hoster support.

    Thread Starter kriscronuk

    (@kriscronuk)

    Why marked “Resolved”? Your plugin is repeatedly scanning the Posts table on every page. Will you fix this bug?

    Thread Starter kriscronuk

    (@kriscronuk)

    There is no problem with my server.

    Plugin Author Shamalli

    (@mihail-chepovskiy)

    There is not any bug. It does not “repeatedly scanning”, it executes SQL query to filter directory listings by custom post type from WP posts table. And not “repeatedly”, one call – one query.

    Thread Starter kriscronuk

    (@kriscronuk)

    Not true. My client has hundreds of pages, imagine the negative impact on server performance with these slow LIKe queries. You don’t need these for every requested page. It is a bug.

    SELECT ID AS id, post_name AS slug
    FROM wp_posts
    WHERE (post_content LIKE ‘%[webdirectory]%’)
    AND post_status = ‘publish’
    AND post_type = ‘page’

    SELECT ID AS id, post_name AS slug
    FROM wp_posts
    WHERE (post_content LIKE ‘%[webdirectory %’)
    AND post_status = ‘publish’
    AND post_type = ‘page’

    SELECT ID AS id
    FROM wp_posts
    WHERE (post_content LIKE ‘%[webdirectory-listing-page]%’
    OR post_content LIKE ‘%[webdirectory-listing]%’)
    AND post_status = ‘publish’
    AND post_type = ‘page’

    SELECT ID AS id
    FROM wp_posts
    WHERE (post_content LIKE ‘%[webdirectory-listing-page %’
    OR post_content LIKE ‘%[webdirectory-listing %’)
    AND post_status = ‘publish’
    AND post_type = ‘page’

    Plugin Author Shamalli

    (@mihail-chepovskiy)

    These are quite light requests even for millions of records. And this method uses most of plugins through the web.

    Please, read wordpress documentation before requesting something, this would be very helpful for your further experience.

    Thread Starter kriscronuk

    (@kriscronuk)

    What do you mean most of the plugins??? Your plugin is the only plugin that does these stupid things. First you blamed the server and now refuses to admit a bug in your plugin. BTW thanks for your tip on wordpress doc but I am a developer myself so I know what I am talking about.

    Plugin Author Shamalli

    (@mihail-chepovskiy)

    Do not be so angry. Everything is fine, guy. Peace.

    Thread Starter kriscronuk

    (@kriscronuk)

    Nothing is fine. Are you going to fix the bug?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    kriscronuk I’ve removed your review, name calling isn’t permitted here.

    Since you’ve done that step I’m going to go with “that user is done” and close this topic.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Bad performance’ is closed to new replies.