为什么interiajs ssr花费很长时间来加载应用程序?

发布于 2025-02-12 07:39:05 字数 574 浏览 0 评论 0原文

我正在研究SSR支持和Vuejs项目的Laravel,Jetstream inertiajs。每当我刷新页面时,都需要一段时间才能向我展示页面的内容。我担心这也可能在生产中发生。

该项目真的很空,这是一个全新的项目,我还没有做任何事情。

我使用Chrome Performance Recorder查看最花时间的时间,这是结果:

除了我使用intertiajs SSR安装的任何项目外,我还能运作超级快速的其他Laravel项目。有人在生产中尝试过吗?

I'm working on a Laravel, Jetstream InertiaJS with SSR support and VueJS project locally. Whenever I refresh the page it takes a while to show me the content of the page. I'm worried that this might happen in production as well.

The project is really empty, it's a brand new project and I haven't done anything yet.

Long loading time gif

I used chrome performance recorder to see what is taking time the most and here is the outcome:

Debug for issue

Any other Laravel project that I have works super fast except any project that I install with InertiaJS SSR. Has anyone tried it in production?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文