Default product price data fetching
I have noticed that when fetching product data, most data is fetched on the server, but the price data is fetched on the client.
For example, on the category page, the product data is fetched first on the server, including the price_range. Then on the client, another query is made, this time only for the price_range, updating the product object.
What is the point of fetching the product data separately on the client?
What is the point of fetching product data twice, once on the server and once on the client?
Thanks a lot in advance for any answer π
These are the versions I'm using by the way, in case it helps:
"@vue-storefront/cache": "2.7.5",
"@vue-storefront/http-cache": "2.7.5",
"@vue-storefront/magento-api": "1.1.0",
"@vue-storefront/middleware": "2.7.5",
"@vue-storefront/nuxt": "2.7.5",
"@vue-storefront/redis-cache": "^1.0.1",
0 Replies