Seperate endpoints just for SSR mode.
See original GitHub issueWhat is the motivation for adding / enhancing this feature?
When using VSF with docker network_mode: host
is not supported for Docker for Desktop(Mac). Thus the categories and products cannot be fetched using SSR.
What are the acceptance criteria
- Endpoints in default/local.json including something like “elasticsearch.host_ssr”
Can you complete this feature request by yourself?
- YES
- NO
Which Release Cycle state this refers to? Info for developer.
Pick one option.
- This is a normal feature request. This should be available on https://test.storefrontcloud.io and then after tests this can be added to next Vue Storefront version. In this case Developer should create branch from
develop
branch and create Pull Request2. Feature / Improvement
back todevelop
. - (Pick this option only if you’re sure) This is an important improvement request for current Release Candidate version on https://next.storefrontcloud.io and should be placed in next RC version. In this case Developer should create branch from
release
branch and create Pull Request3. Stabilisation fix
back torelease
. - (Pick this option only if you’re sure) This is a critical improvement request for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version. In this case Developer should create branch from
hotfix
ormaster
branch and create Pull Request4. Hotfix
back tohotfix
.
Additional information
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5
Top Results From Across the Web
Seperate endpoints just for SSR mode. · Issue #2861 - GitHub
When using VSF with docker network_mode: host is not supported for Docker for Desktop(Mac). Thus the categories and products cannot be fetched ...
Read more >Server-side rendering - Apollo GraphQL Docs
Server-side rendering (SSR) is a performance optimization for modern web apps. It enables you to render your app's initial state to raw HTML...
Read more >Server-side Rendering - Astro Documentation
In SSR mode, Astro uses HTML streaming to send each component to the browser as it renders them. This makes sure the user...
Read more >Server-Side Rendering (SSR) - Vue.js
If we mutate the shared singleton state with data specific to one user, it can be accidentally leaked to a request from another...
Read more >A beginner's guide to React Server-Side Rendering (SSR)
In this lesson, we are going to talk about server-side rendering (SSR), its benefits, and its pitfalls. Then we will set up a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
All the endpoints should be just provided with
_ssr
option.example:
Please make sure the following areas are updated:
vue-storefront-api
project,core/scripts/installer.js
quickSearchByQuery
- basically the search adapters in thevue-storefront
,sync/task.ts
Then double-check if all the endpoints specified in the config were supported:
@andrzejewsky we’ve just got another user inquiry regarding this issue Today (Slack) and I belive we should take care of it in the next feature release