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
Vulcain does not work "out of the box" with API Platform #109
Comments
Is any news here about the issue after so many time or the project is not active? |
No idea, I've tried StackOverflow, Symfony Vulcain dedicated channel and here: no response. I haven't tried Vulcain features through api-platform+FrankenPHP yet. But I'd like to use Vulcain without having to migrate everything to FrankenPHP. @dunglas I now you're very busy but could you at least give us hints on what's happening here? |
Chrome removed support for HTTP/2 Server Push, consequently the Vulcain server doesn't work anymore with Chrome with Server Push. However, we collaborated with the Chrome and Go team to add support for Early Hints in Vulcain. It's supported as of v1.0 of Vulcain. Early Hints work only when HTTP/2 is enabled, and so far only in Chrome. Vulcain is still maintained both as a standalone Caddy module, as a standalone binary, and as part of FrankenPHP (which uses the Caddy module). |
Hi,
I've been trying for a long time to set up Vulcain with Api Pltform without success. I have the feeling that it is more a Vulain issue as I never found how to make it work through Caddy module.
Here are my steps to reproduce the issue (largely inspired form your demo):
Download Api Platform v3.0.9 release
curl -L https://github.com/api-platform/api-platform/archive/refs/tags/v3.0.9.tar.gz tar xzvf v3.0.9.tar.gz cd api-platform-3.0.9
Fix PNPM issue as stated here: api-platform/api-platform#2417
Configure the API to be Fully Normalized
Start the app
Create entites like here https://github.com/dunglas/demo-vulcain-api-platform
Update schema + load fixtures :
Try with this code: (inspired from your demo)
With Slow 3G throttling + Disable cache in Chrom DevTools I get the the cascade profile like here on the left:
Is there anything more to do to enable Vulcain?
The text was updated successfully, but these errors were encountered: