最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

next.js - How to avoid running getServerSideProps on client side routing? - Stack Overflow

programmeradmin0浏览0评论

I am using getServerSideProps to improve SEO. So if someone access the route directly all the content should be delivered in the server request. But in case i am navigating to that site via next/link or router.push I want to avoid getServerSideProps and load the data in the client or retrieve it from the client cache. I already read a lot about this, but I did not find any satisfying solution.

Thanks for any help :)

发布评论

评论列表(0)

  1. 暂无评论