First loading of a page is very slow.

#1
Hi,
this is my first time posting here.

I deployed a new Wordpress site on OpenLiteSpeed using a new Vps. The site is quite complex and based on WooCommerce.

The Vps has 4 Cores and 8Gb of Ram

The problem is that the first loading of a page is very slow. I see the MySql process consuming a lot of resources in terms of CPU. After the first loading, with the Litespeed cache active, everything is very very fast.

I tried replacing OpenLiteSpeed with Apache, and the first loading is much faster.

Obviously I would like to use Litespeed.

Any ideas?
 
#2
The problem is that the first loading of a page is very slow. I see the MySql process consuming a lot of resources in terms of CPU. After the first loading, with the Litespeed cache active, everything is very very fast.
Page optimization is not free. The more optimization function you have enabled the higher the load and the longer it takes to process. Use the built-in crawler to warmup the cache frequently because only a warmed cache makes your site fast.
 
Top