Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Is the plugin very resource intensive?
- This topic has 6 replies, 3 voices, and was last updated 4 years, 8 months ago by WCFM Forum.
- AuthorPosts
- March 25, 2020 at 5:41 am #113031alexdeziParticipant
Hello!
I have setup the site with marketplace (first time) and love it so far. I noticed however, that my CPU usage of the server has increased incredibly (up to 10x as high as normal usage). Whenever I am not in the backend of the marketplace installation, the resources go back to normal.
So I am wondering how resource intensive is the plugin?
Any shared experience on this is highly appreciated! I am afraid to let the site out in the wild like this.
Thank you!
- April 2, 2020 at 9:10 pm #114789WCFM ForumMember
Hi,
NO, WCFM does not take that much resource.
Well, in site frontend there has many other plugins, specially theme. May any of those consuming high resource.
Thank You
- April 2, 2020 at 9:43 pm #114811alexdeziParticipant
I have tried with different themes and on a new install, just with WCFM and Woocommerce installed. I tried with Flatsome theme, Astra and also Default WordPress theme. Always the same issue…
- April 4, 2020 at 1:23 pm #115272WCFM ForumMember
Hi,
Please add this line to your site and check once –
add_filter( 'wcfm_is_allow_desktop_notification', '__return_false' ); add_filter( 'wcfm_is_allow_new_message_check', '__return_false' );
Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/Thank You
- April 4, 2020 at 7:36 pm #115371alexdeziParticipant
Thank you!
I did that now and it gives me this result: https://prnt.sc/rsxdr1
I inserted the code snippet about 15 minutes after 14.00 opened 40 tabs where I am logged in and left it running until now. You can see that in the past hour, with just the tabs open and not doing anything else at all, it increased.
Do you have another code snippet?
Or can you point me to the part in the code where these requests are initiated?Thank you!
- April 4, 2020 at 7:53 pm #115372
- April 5, 2020 at 11:12 am #115557WCFM ForumMember
Hi,
Do you have another code snippet?
Or can you point me to the part in the code where these requests are initiated?– Well, if those codes are already added (infact I adeded those to your site) then no more periodic ajax requests from WCFM, you may keep open 40 or 400 tabs.
Only normal queries executed during tab open, but then no more queries at all. Atleast not from WCFM.
Only exception is WCFM Notification dashboard, it checks for new messages in every 60 seconds.
One more important point, if you browse WCFM Setting page again and again then DB hit will be higher as this page loads many setting options so number of queries is higher than other pages. It’s true for all setting pages, e.g. WP setting, WooCommerce setting. But WCFM Admin setting page is not a public page so it’s browsing will be occasionally and only Admin allow to do.
Thank You
- AuthorPosts
- You must be logged in to reply to this topic.