• Resolved HighRollerUSA

    (@highrollerusa)


    As others have mentioned, this plugin is a memory hog. Apparently it loads on every page of the site. We and others have noted that the following hit the site with thousands of requests:

    /wp-content/plugins/waitlist-woocommerce/assets/fonts/waitlist.ttf?gwad77

    /wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/lib/fontawesome5/webfonts/fa-brands-400.woff2

    /wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/lib/fontawesome5/webfonts/fa-solid-900.woff2

    It also isn’t playing nice with Litespeed Cache. No emails are being sent automatically or manually.

    When viewing the User lists our CPU spiked to 56% and RAM started being gobbled up. Navigate away from this plugin’s admin page and everything back to normal. Finally just had to disable this plugin.

    It’s a great plugin in theory, but there seems to be serious flaws in the code. How can this be fixed?

    Thanks

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

    (@xootix)

    Hello,

    As you mentioned that it loads on every page of a site. That’s true and this is because you can have an out of stock product on any page, there isn’t a way to decide on which page to load.
    => Now what exactly is loading? Its a few lines of HTML (just a basic form) and CSS and removing it will have negligible affect on your loading speed.


    /wp-content/plugins/waitlist-woocommerce/assets/fonts/waitlist.ttf?gwad77
    /wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/lib/fontawesome5/webfonts/fa-brands-400.woff2
    /wp-content/plugins/waitlist-woocommerce/xoo-form-fields-fw/lib/fontawesome5/webfonts/fa-solid-900.woff2


    Now lets come to the fonts, Yes along with HTML and CSS, they are also loaded.
    You have the option to disable them from the “Fields” page -> settings
    => Now some clearance on the fonts.
    You said “thousands of requests” I doubt where did you get this figure from. Would appreciate if you can send a screenshot.
    You can check your developer tools by right clicking on the web page -> inspect element and you will see which files are loaded by which plugin.
    Once the fonts are loaded, the browser caches them and if a user navigates to different pages, your server will not be hit with a new request, the cached fonts will be displayed and its not just with the plugin fonts, every asset on your site is loaded like this.
    As mentioned before, if you don’t want fonts, you can simply disable them from the fields settings page.

    When viewing the User lists our CPU spiked to 56% and RAM started being gobbled up.
    This can happen if you have 1000s of users in your waitlist.
    Plugin hits a database request and it takes time to fetch data. This can be improved by adding pagination to limit the results and I will be surely doing this in the next update.
    And if you don’t have 1000s users and its still happening, the issues lies somewhere else. I can surely check, please leave a message here

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.