Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider exposing supported DG service providers in headers #36

Open
phoglenix opened this issue Oct 29, 2021 · 0 comments
Open

Consider exposing supported DG service providers in headers #36

phoglenix opened this issue Oct 29, 2021 · 0 comments

Comments

@phoglenix
Copy link
Collaborator

Feedback: On an initial cold request, when server-side rendering a page, it would be useful to know whether the DGAPI is available, so you can know whether to render a buy button etc.
Currently it is only possible to know by running JS after the page is rendered.

We should consider adding headers to expose information on whether the DGAPI will be available (and with which service providers).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant