replying to @mathcrln
Hey! The cause is the
AddLinkHeadersForPreloadedAssets middleware in bootstrap/app.php, not the @vite directive itself. It adds every chunk the page imports to a single Link response header, which can exceed nginx's default buffer size on larger pages. You can increase…GitHubnginx header limitation · Issue #529 · inertiajs/inertia-laravelOpening this issue to aid others running into a somewhat bizarre issue, might also be cause for some documentation. When applying the @inertia directive the yielded result contains both the page te...
Thanks for your answer! Yeah, I believe I had tracked AddLinkHeadersForPreloadedAssets as being the cause when I investigated few months back. I think it might be the default buffer settings that are too low on Ploi, because I have reached this issue consistently on almost all…