Skip to content

[2.x] Ability to perform a SSR request without a bundle #751

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

Merged
merged 3 commits into from
Jun 26, 2025

Conversation

pascalbaljet
Copy link
Member

Fixes issue #694 and builds upon the test from PR #673.

This PR allows you to enable SSR without the bundle file. This is needed when the SSR server runs on another server or outside of the container. It introduces an inertia.ssr.dispatch_without_bundle configuration setting that defaults to false. By setting it to true, the BundleDetector will not be used.

@pascalbaljet pascalbaljet changed the title Ability to perform a SSR request without a bundle [2.x] Ability to perform a SSR request without a bundle Jun 20, 2025
@pascalbaljet pascalbaljet merged commit 393c98a into 2.x Jun 26, 2025
37 checks passed
@pascalbaljet pascalbaljet deleted the ssr-dispatch-without-bundle branch June 26, 2025 07:27
@pascalbaljet
Copy link
Member Author

For reference, I refactored the configuration key to inertia.ssr.ensure_bundle_exists in #755.

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

Successfully merging this pull request may close these issues.

Allow skipping BundleDetector in HttpGateway for SSR in standalone Docker containers
1 participant