• Resolved c9developer

    (@c9developer)


    Hi,

    We seem to be having some load time issues with the plugin. It takes a bit of time to output the folders. Note that the one that’s taking awhile to load up is the Ajax request with an action param of mlp_get_folder_data (about 10.71s total time)

    Is it possible to place optimizations for this query to speed this up a little bit?

    Thanks for the help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AlanP57

    (@alanp57)

    I don’t think there is a way to speed it up. This is the query:

    select ID, post_title, wp_mgmlp_folders.folder_id
    from wp_posts
    LEFT JOIN wp_mgmlp_folders ON (wp_posts.ID = wp_mgmlp_folders.post_id)
    where post_type = ‘mgmlp_media_folder’
    order by folder_id

    I am having the same issues with the tree loading. I have a hight nested directory structor and i receive several sever timeouts before it will full load. Once loaded all if fine since it’s being cached. Im wondering if there is an issue with the code that is walking the branches of the tree for the front end.

    Plugin Author AlanP57

    (@alanp57)

    Have you looked into increasing your site’s Max Execution Time settings? See this article, https://www.wpbeginner.com/wp-tutorials/how-to-fix-fatal-error-maximum-execution-time-exceeded-in-wordpress/.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Performance of Get Folder Data’ is closed to new replies.