Many sites face a situation where regular pages, posts, and catalog pages load quickly, while product pages and pages with Gutenberg product blocks load slower. A bunch of optimizations and caching don't help much.
Any product blocks have a huge impact on this, especially if marketing requires displaying more than 10 products in a block (it could be 20+ in one block and the same number in others).
Comparing the product page without them and with them, you can see a noticeable difference in the speed of loading the product page. The situation is also similar when using the Gutenberg product blocks from the theme.
Therefore, it is advisable to implement the ability to load product blocks (upsells, related, cross sells, as well as Gutenberg product blocks) and widgets using Ajax.
Proposal:
  • add the option to enable Ajax in the "Single Product > Related & Upsells" theme settings (for each block separately)
  • add the option to enable Ajax in the "Product archive > Widgets" theme settings
  • add the Cross sells control in the "Catalog > Cart" theme settings and the option to enable Ajax for it
  • add the option to enable Ajax in the Gutenberg product block "Products" from the theme