停靠并部署到云运行时,所有NextJs都可以使用吗?
假设我有一个 nextjs app, _middleware getserversideprops 和 getstaticprops ,我想在云运行中使用它。 首先使用 docker 我将做一个 image 之后,我将其上传到A 云运行容器
我是否必须做一些其他设置才能正常工作?
例如,使用 getStaticProps 的页面自动被缓存到GCP CDN上,还是我必须单独进行设置并以某种方式连接它们?
getServersideProps 的页面是否会呈现?
我所有的 _middleware 都可以吗?
我已经在Google Cloud/Firebase文档中挖掘了几天,但仍然发现自己的自我很困惑。
我仍然是编程的新手(过去6个月的自学旅程),如果这些问题似乎 foo 'lish ..
Lets say for example I have a NextJS app with _middleware and getServerSideProps and getStaticProps and I want to use it on Cloud Run.
First using Docker I'll make an Image after that I upload it to a Cloud Run Containter
Do I have to do some additional setup for everything to work properly?
For example do the pages with getStaticProps get automatically cached to a GCP cdn or do I have to setup that up separately and connect them somehow?
Will the pages with getServerSideProps be server side rendered?
And will all my _middleware work?
I've been digging in the Google cloud/Firebase documentation for a few days now and still find my self very confused.
I'm still fairly new to programming (been on a self-learning journey for the past 6 months) so please bare with me if these questions seem foo'lish..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论