I am optimizing my site because the current doom is very heavy according to gtmetrix. I currently use WPBakery Page Builder to make a page using Wordpress.
My query is is there any method or plugin to divide the content via ajax or load more or lazy load content or similar?
What I want to achieve is similar to this.
This would be the WPBakery Page Builder shortcode in a simple example:
[vc_row][vc_column][vc_column_text]Hello1[/vc_column_text][/vc_column][/vc_row]
//[inser paginate or loadmore or ajax loading here]
[vc_row][vc_column][vc_column_text]Hello2[/vc_column_text][/vc_column][/vc_row]
//[inser paginate or loadmore or ajax loading here]
[vc_row][vc_column][vc_column_text]Hello3[/vc_column_text][/vc_column][/vc_row]
PD: the example is just demonstrative and easy to understand. The real codes are much larger.
The point of this is to create some kind of pagination or load more or some kind of ajax loading to avoid loading the doom that you don't see on the screen. And thus avoid unnecessary sql queries and unnecessary doom.
As we can see in the example I need to load hello1 but not hello2 however show a pagination or a loadmore button or infinite load to keep executing hello2 and then hello 3 and so on.
This would help the server a lot to minimize the doom code.
Any ideas?