fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

excessive CPU consumption

Alex Jaleo

Hello.

from my server they warn me of a huge CPU consumption of pages like these:

mysite.com/wp-json/woo-variation-swatches/v1/archive-product/691
mysite.com/wp-json/woo-variation-swatches/v1/archive-product/753
mysite.com/wp-json/woo-variation-swatches/v1/archive-product/759
mysite.com/wp-json/woo-variation-swatches/v1/archive-product/787

 

They ask me to deactivate this plugin because it consumes a lot of CPU. Is there a way to configure it so that this doesn’t happen?

thank you very much

 

Hakik Zaman

Hi Alex,

Thanks for reaching out to us.

Please contact your hosting provider and ask them if they have any caching solution (like- Object Cache) or not.

Hope to hear from you soon.

Thank You

Alex Jaleo

Good morning, we have installed a cache but the high CPU consumption continues.

The server support tells us that the problem comes from the REST API and that the plugin developer can give us instructions to limit requests and lower CPU consumption.

Thanks a lot

Hakik Zaman

Hi Alex,

Do your server support object cache like- Redis Object Cache?

If so, will you please tell them to enable it for you?

Then check if it improves or not.

Thank You