• I had high hopes for this plugin but am a little disappointed. I installed it on our client’s content rich site with over 10k posts/pages. After running the initial scan for several hours it froze, and after doing some debugging I found it was erroring while trying to write an extremely large value to a single field in the database. This massive value (almost 40mb) was an aggregation of all the site’s page’s post_content. Looking at the plugin code, it seems the purpose for this is to run a str_contains check over that aggregation of content for the attachment file name value to check if it’s inserted directly into a page.

    This approach might work most sites, but it’s not a viable approach for larger sites like ours. Making the plugin unusable for us.

    One of the USPs of this plugin is that it claims to smartly search the page and post content for the attachments. That’s why we considered purchasing it. Maybe if they improve this aspect it will be a truly great plugin and we will revisit for our clients.

    To the plugin developers: I’d suggest using a batch process to check each attachment file individually with a query like:

    SELECT COUNT(id) FROM wp_posts WHERE post_content LIKE '%ATTACHMENT_NAME%';

    instead of trying to match against all post content at once. It would take longer to execute, but could run in the background and would work for sites like ours.

Viewing 1 replies (of 1 total)
  • Plugin Author slui

    (@slui)

    Thank you for your feedback.

    Without understanding your current setup or hosting environment, it will be hard for us to comment on the large site. With that being said, we know that from our tests and working with many different types of websites (e.g. themes, builders, plugins) in different hosting environments, that the process we have in place works. Your situation may be another situation that we have not encountered and as a result it may not work.

    In terms of larger environments, we have it working with extremely large sites with over 1TB (2.7 million media files). Did it take a while, absolutely, but that is a result of the hosting environment.

    Secondly, we are constantly refining our process. We have a new version coming out soon.

    If you still have problems, reach out to us at https://mediahygiene.com

    • This reply was modified 7 months, 3 weeks ago by slui.
Viewing 1 replies (of 1 total)
  • The topic ‘Promising plugin but freezes on sites with very large amount of pages’ is closed to new replies.