-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
triage-neededIssues that need to be checkedIssues that need to be checked
Description
What is your question / Please describe your issue
Hi,
Actually, we (Caudalie team) are testing the behavior of the multistore feature.
However, we believe that the current implementation is not optimal for performance. Our magento2 GraphQL endpoint is not very efficient and with the current multistore behavior, multiple calls are made on each SSR request.
default.vue
onSSR(async () => {
await loadConfiguration();
await Promise.all([
loadUser(),
loadCart(),
]);
});loadConfiguration :
await Promise.all([
loadConfig(),
loadStores(),
loadCurrencies(),
]);With that it's impossible for us to be under the 1~2 secs of load time on every page.
It was pretty good on VSF1 to have a configuration file for the multistore, we thought we would keep this behavior or even have a script that will grab the magento configuration at build time and store it in a file.
What do you think of that ?
Regards,
Marc
What version of Magento 2 Integration are you using?
2.4.3
Code of Conduct
- I agree to follow this project's Code of Conduct
aelmizeb, jonathanribas and Tanguy-SALMON
Metadata
Metadata
Assignees
Labels
triage-neededIssues that need to be checkedIssues that need to be checked