当前位置:首页 > 文章列表 > 文章 > 前端 > JavaScriptSEO优化技巧与单页应用收录方法

JavaScriptSEO优化技巧与单页应用收录方法

2026-02-24 21:10:19 0浏览 收藏
单页应用(SPA)因依赖JavaScript动态渲染,常被搜索引擎爬虫“视而不见”,导致内容难以收录;本文直击痛点,系统讲解如何通过服务端渲染(SSR)、预渲染和动态渲染三大核心策略,让爬虫真正“看懂”你的页面——无论是用Next.js/Nuxt实现开箱即用的SSR,还是借助预渲染工具为营销页生成静态快照,抑或通过User-Agent识别对爬虫智能返回渲染后HTML,都能切实提升收录率;同时强调语义化标签、动态元信息管理、规范路由(避免hash模式)、Sitemap与robots.txt等基础但关键的前端优化实践,助你兼顾用户体验与搜索可见性,让精心打造的SPA不再“隐身”于搜索结果之外。

javascript的SEO优化有哪些方法_如何让单页应用被搜索引擎收录

单页应用(SPA)默认对搜索引擎不友好,因为传统爬虫难以执行 JavaScript 渲染页面内容。要让搜索引擎收录 SPA,核心思路是:让爬虫能获取到完整的、带有语义化 HTML 的页面内容。以下是实用、可落地的优化方法。

服务端渲染(SSR)

在服务器端预先执行 JavaScript,生成完整的 HTML 字符串返回给客户端和爬虫。这是最直接有效的方案。

  • 使用 Next.js(React)、Nuxt.js(Vue)、Angular Universal 等框架,它们内置 SSR 支持,配置简单、生态成熟
  • 确保关键内容(如标题、正文、元描述)在首屏 HTML 中真实存在,而非依赖 JS 后续插入
  • 注意动态路由需在服务端正确匹配并渲染,避免返回空模板或 404

预渲染(Prerendering)

适用于内容更新不频繁的站点,构建时生成静态 HTML 文件,部署后直接由服务器返回。

  • 工具如 Prerender.io、react-snapshot、vue-prerender-spa-plugin 可在构建阶段模拟浏览器访问并保存快照
  • 适合营销页、博客、产品介绍页等静态或半静态内容
  • 需配合 CI/CD 自动触发重新预渲染,否则新内容不会生效

动态渲染(Dynamic Rendering)

根据 User-Agent 区分请求来源:对真实用户返回 SPA,对搜索引擎爬虫返回 SSR 或预渲染后的 HTML。

  • 需在反向代理层(如 Nginx、Cloudflare Worker)或 Node.js 中间件中识别爬虫 UA(如 Googlebot、Bingbot)
  • 注意保持前后端内容一致,避免被判定为“隐藏内容”或 cloaking(违规操作)
  • 适合已有大型 SPA 难以重构、又急需 SEO 支持的场景

基础前端增强与规范

即使采用 SSR 或预渲染,仍需做好基础 SEO 工程实践,确保结构清晰、可读性强。

  • 每个路由对应唯一 URL,使用 HTML5 History API(不是 hash 模式),避免 # 开头路径
  • </font> 和 <font color="red"><meta name="description"></font> 动态更新,推荐通过 React Helmet、Vue Meta 等库统一管理</li><li>为图片添加 <font color="red">alt</font> 属性,重要内容用语义化标签(<strong>h1~h6</strong>、<strong>article</strong>、<strong>section</strong>)包裹</li><li>提供清晰的 Sitemap.xml,并在 robots.txt 中声明,帮助爬虫发现页面</li></ul><p>以上就是《JavaScriptSEO优化技巧与单页应用收录方法》的详细内容,更多关于的资料请关注golang学习网公众号!</p> </div> <div class="labsList"> </div> <div class="cateBox"> <div class="cateItem"> <a href="/article/508597.html" title="Golang模板方法模式实现解析" class="img_box"> <img src="/uploads/20260224/1771938526699da2de3f526.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="Golang模板方法模式实现解析">Golang模板方法模式实现解析 </a> <dl> <dt class="lineOverflow"><a href="/article/508597.html" title="Golang模板方法模式实现解析" class="aBlack">上一篇<i></i></a></dt> <dd class="lineTwoOverflow">Golang模板方法模式实现解析</dd> </dl> </div> <div class="cateItem"> <a href="/article/508599.html" title="百度AI识别植物方法详解" class="img_box"> <img src="/uploads/20260224/1771938641699da35138bf5.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="百度AI识别植物方法详解"> </a> <dl> <dt class="lineOverflow"><a href="/article/508599.html" class="aBlack" title="百度AI识别植物方法详解">下一篇<i></i></a></dt> <dd class="lineTwoOverflow">百度AI识别植物方法详解</dd> </dl> </div> </div> </div> </div> <div class="leftContBox pt0"> <div class="pdl20"> <div class="contTit"> <a href="/articlelist.html" class="more" title="查看更多">查看更多<i class="iconfont"></i></a> <div class="tit">最新文章</div> </div> </div> <ul class="newArticleList"> <li> <div class="contBox"> <a href="/article/624408.html" class="img_box" title="JavaScript fetch 遇到 404 为什么不进入 catch"> <img src="/uploads/20260906/1788644474-00d2d93fd7-5c7008ff05-fetch-error-boundary.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="JavaScript fetch 遇到 404 为什么不进入 catch"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  1小时前  |   <a href="/articletag/4701_new_0_1.html" class="aLightGray" title="javascript">javascript</a> · <a href="/articletag/14161_new_0_1.html" class="aLightGray" title="fetch">fetch</a> · <a href="/articletag/42709_new_0_1.html" class="aLightGray" title="前端请求">前端请求</a> · <a href="javascript:;" class="aLightGray" title="JavaScript">JavaScript</a> <a href="javascript:;" class="aLightGray" title="服务器监视">服务器监视</a> <a href="javascript:;" class="aLightGray" title="Http请求">Http请求</a> <a href="javascript:;" class="aLightGray" title="Fetch">Fetch</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/624408.html" class="aBlack" target="_blank" title="JavaScript fetch 遇到 404 为什么不进入 catch">JavaScript fetch 遇到 404 为什么不进入 catch</a> </dt> <dd class="cont2"> <span><i class="view"></i>481浏览</span> <span class="collectBtn user_collection" data-id="624408" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/624377.html" class="img_box" title="TypeScript 怎么用区分联合表示请求状态"> <img src="/uploads/20260906/1788640251-f776bf9180-3a6a1edfdf-ts-discriminated-union-exhaustive-check.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="TypeScript 怎么用区分联合表示请求状态"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  2小时前  |   <a href="/articletag/243_new_0_1.html" class="aLightGray" title="前端">前端</a> · <a href="/articletag/2773_new_0_1.html" class="aLightGray" title="typescript">typescript</a> · <a href="/articletag/42699_new_0_1.html" class="aLightGray" title="联合类型">联合类型</a> · </span> </dd> <dt class="lineOverflow"> <a href="/article/624377.html" class="aBlack" target="_blank" title="TypeScript 怎么用区分联合表示请求状态">TypeScript 怎么用区分联合表示请求状态</a> </dt> <dd class="cont2"> <span><i class="view"></i>292浏览</span> <span class="collectBtn user_collection" data-id="624377" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/624348.html" class="img_box" title="TypeScript satisfies 和类型断言有什么区别"> <img src="/uploads/20260906/1788635678-5cda682b29-fd51a64093-ts-assertion-runtime-boundary.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="TypeScript satisfies 和类型断言有什么区别"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  4小时前  |   </span> </dd> <dt class="lineOverflow"> <a href="/article/624348.html" class="aBlack" target="_blank" title="TypeScript satisfies 和类型断言有什么区别">TypeScript satisfies 和类型断言有什么区别</a> </dt> <dd class="cont2"> <span><i class="view"></i>293浏览</span> <span class="collectBtn user_collection" data-id="624348" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/624318.html" class="img_box" title="React 定时器为什么越开越多:useEffect 清理怎么写"> <img src="/uploads/20260906/1788631388-cd464740a2-edabb4324a-react-effect-cleanup-lifecycle.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="React 定时器为什么越开越多:useEffect 清理怎么写"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  5小时前  |   </span> </dd> <dt class="lineOverflow"> <a href="/article/624318.html" class="aBlack" target="_blank" title="React 定时器为什么越开越多:useEffect 清理怎么写">React 定时器为什么越开越多:useEffect 清理怎么写</a> </dt> <dd class="cont2"> <span><i class="view"></i>389浏览</span> <span class="collectBtn user_collection" data-id="624318" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/624289.html" class="img_box" title="React 列表删除一项后输入框内容错位怎么处理"> <img src="/uploads/20260906/1788627017-4eb34fe1bf-393db334be-react-index-key-mismatch.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="React 列表删除一项后输入框内容错位怎么处理"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  6小时前  |   <a href="/articletag/5401_new_0_1.html" class="aLightGray" title="前端开发">前端开发</a> · <a href="/articletag/8921_new_0_1.html" class="aLightGray" title="react">react</a> · <a href="/articletag/39919_new_0_1.html" class="aLightGray" title="状态管理">状态管理</a> · <a href="/articletag/42670_new_0_1.html" class="aLightGray" title="列表渲染">列表渲染</a> · <a href="javascript:;" class="aLightGray" title="React">React</a> <a href="javascript:;" class="aLightGray" title="key">key</a> <a href="javascript:;" class="aLightGray" title="列表">列表</a> <a href="javascript:;" class="aLightGray" title="输入框">输入框</a> <a href="javascript:;" class="aLightGray" title="组件状态">组件状态</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/624289.html" class="aBlack" target="_blank" title="React 列表删除一项后输入框内容错位怎么处理">React 列表删除一项后输入框内容错位怎么处理</a> </dt> <dd class="cont2"> <span><i class="view"></i>215浏览</span> <span class="collectBtn user_collection" data-id="624289" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/624259.html" class="img_box" title="Vue 修改数据后怎么等 DOM 更新再测量高度"> <img src="/uploads/20260905/1788622629-4d47024dfa-0ecb9c252c-vue-nexttick-dom-boundary.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="Vue 修改数据后怎么等 DOM 更新再测量高度"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  7小时前  |   </span> </dd> <dt class="lineOverflow"> <a href="/article/624259.html" class="aBlack" target="_blank" title="Vue 修改数据后怎么等 DOM 更新再测量高度">Vue 修改数据后怎么等 DOM 更新再测量高度</a> </dt> <dd class="cont2"> <span><i class="view"></i>171浏览</span> <span class="collectBtn user_collection" data-id="624259" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/624227.html" class="img_box" title="Vue computed 为什么不能直接赋值"> <img src="/uploads/20260905/1788618328-45b127287b-b419a490a2-vue-computed-source-derived.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="Vue computed 为什么不能直接赋值"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  8小时前  |   <a href="/articletag/1112_new_0_1.html" class="aLightGray" title="Vue">Vue</a> · <a href="/articletag/40377_new_0_1.html" class="aLightGray" title="响应式">响应式</a> · <a href="/articletag/42650_new_0_1.html" class="aLightGray" title="computed">computed</a> · <a href="javascript:;" class="aLightGray" title="computed">computed</a> <a href="javascript:;" class="aLightGray" title="Vue 计算属性">Vue 计算属性</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/624227.html" class="aBlack" target="_blank" title="Vue computed 为什么不能直接赋值">Vue computed 为什么不能直接赋值</a> </dt> <dd class="cont2"> <span><i class="view"></i>311浏览</span> <span class="collectBtn user_collection" data-id="624227" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/624208.html" class="img_box" title="Vue watch 搜索请求怎么防止旧响应覆盖新结果"> <img src="/uploads/20260905/1788616551-3ab60d59bc-8de2605245-vue-watch-current-response-guard.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="Vue watch 搜索请求怎么防止旧响应覆盖新结果"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  9小时前  |   </span> </dd> <dt class="lineOverflow"> <a href="/article/624208.html" class="aBlack" target="_blank" title="Vue watch 搜索请求怎么防止旧响应覆盖新结果">Vue watch 搜索请求怎么防止旧响应覆盖新结果</a> </dt> <dd class="cont2"> <span><i class="view"></i>388浏览</span> <span class="collectBtn user_collection" data-id="624208" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/624108.html" class="img_box" title="Interop 2026 媒体伪类怎么用:播放状态样式与兼容边界"> <img src="/uploads/20260904/1788530903-54c2b5e553-2422ccafd9-media-pseudo-fallback-matrix.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="Interop 2026 媒体伪类怎么用:播放状态样式与兼容边界"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  1天前  |   </span> </dd> <dt class="lineOverflow"> <a href="/article/624108.html" class="aBlack" target="_blank" title="Interop 2026 媒体伪类怎么用:播放状态样式与兼容边界">Interop 2026 媒体伪类怎么用:播放状态样式与兼容边界</a> </dt> <dd class="cont2"> <span><i class="view"></i>384浏览</span> <span class="collectBtn user_collection" data-id="624108" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/624089.html" class="img_box" title="Scoped Custom Element Registries 解决什么:组件注册范围与冲突边界"> <img src="/uploads/20260904/1788513223-f59316923c-3427535531-scoped-registry-global-collision.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="Scoped Custom Element Registries 解决什么:组件注册范围与冲突边界"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  1天前  |   <a href="/articletag/243_new_0_1.html" class="aLightGray" title="前端">前端</a> · <a href="/articletag/4701_new_0_1.html" class="aLightGray" title="javascript">javascript</a> · <a href="/articletag/17698_new_0_1.html" class="aLightGray" title="web components">web components</a> · <a href="javascript:;" class="aLightGray" title="Web Components">Web Components</a> <a href="javascript:;" class="aLightGray" title="CustomElementRegistry">CustomElementRegistry</a> <a href="javascript:;" class="aLightGray" title="Scoped Custom Element Registries">Scoped Custom Element Registries</a> <a href="javascript:;" class="aLightGray" title="ShadowRoot">ShadowRoot</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/624089.html" class="aBlack" target="_blank" title="Scoped Custom Element Registries 解决什么:组件注册范围与冲突边界">Scoped Custom Element Registries 解决什么:组件注册范围与冲突边界</a> </dt> <dd class="cont2"> <span><i class="view"></i>150浏览</span> <span class="collectBtn user_collection" data-id="624089" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/624044.html" class="img_box" title="Navigation API precommitHandler 怎么理解:导航提交前检查与回退边界"> <img src="/uploads/20260904/1788495967-7e845c8967-b78e1a907a-navigation-outcomes.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="Navigation API precommitHandler 怎么理解:导航提交前检查与回退边界"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  1天前  |   <a href="/articletag/4701_new_0_1.html" class="aLightGray" title="javascript">javascript</a> · <a href="/articletag/42629_new_0_1.html" class="aLightGray" title="Navigation API">Navigation API</a> · <a href="/articletag/42630_new_0_1.html" class="aLightGray" title="前端路由">前端路由</a> · <a href="javascript:;" class="aLightGray" title="Navigation API">Navigation API</a> <a href="javascript:;" class="aLightGray" title="precommitHandler">precommitHandler</a> <a href="javascript:;" class="aLightGray" title="SPA 路由">SPA 路由</a> <a href="javascript:;" class="aLightGray" title="导航拦截">导航拦截</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/624044.html" class="aBlack" target="_blank" title="Navigation API precommitHandler 怎么理解:导航提交前检查与回退边界">Navigation API precommitHandler 怎么理解:导航提交前检查与回退边界</a> </dt> <dd class="cont2"> <span><i class="view"></i>183浏览</span> <span class="collectBtn user_collection" data-id="624044" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/623958.html" class="img_box" title="Vite 8 为什么统一使用 Rolldown:开发构建与生产打包边界"> <img src="/uploads/20260903/1788431375-00a3cd9feb-a9e3e333a1-vite8-config-boundaries.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="Vite 8 为什么统一使用 Rolldown:开发构建与生产打包边界"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  2天前  |   <a href="/articletag/4877_new_0_1.html" class="aLightGray" title="vite">vite</a> · <a href="/articletag/39953_new_0_1.html" class="aLightGray" title="前端工程">前端工程</a> · <a href="/articletag/42567_new_0_1.html" class="aLightGray" title="Rolldown">Rolldown</a> · <a href="javascript:;" class="aLightGray" title="Vite 8">Vite 8</a> <a href="javascript:;" class="aLightGray" title="Rolldown">Rolldown</a> <a href="javascript:;" class="aLightGray" title="Oxc">Oxc</a> <a href="javascript:;" class="aLightGray" title="前端构建">前端构建</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/623958.html" class="aBlack" target="_blank" title="Vite 8 为什么统一使用 Rolldown:开发构建与生产打包边界">Vite 8 为什么统一使用 Rolldown:开发构建与生产打包边界</a> </dt> <dd class="cont2"> <span><i class="view"></i>486浏览</span> <span class="collectBtn user_collection" data-id="623958" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> </ul> </div> </div> <div class="mainRight"> <!-- 右侧广告位banner --> <div class="rightContBox" style="margin-top: 0px;"> <div class="rightTit"> <a href="/courselist.html" class="more" title="查看更多">查看更多<i class="iconfont"></i></a> <div class="tit lineOverflow">课程推荐</div> </div> <ul class="lessonRecomRList"> <li> <a href="/course/9.html" class="img_box" target="_blank" title="前端进阶之JavaScript设计模式"> <img src="/uploads/20221222/52fd0f23a454c71029c2c72d206ed815.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="前端进阶之JavaScript设计模式"> </a> <dl> <dt class="lineTwoOverflow"><a href="/course/9.html" target="_blank" class="aBlack" title="前端进阶之JavaScript设计模式">前端进阶之JavaScript设计模式</a></dt> <dd class="cont1 lineTwoOverflow"> 设计模式是开发人员在软件开发过程中面临一般问题时的解决方案,代表了最佳的实践。本课程的主打内容包括JS常见设计模式以及具体应用场景,打造一站式知识长龙服务,适合有JS基础的同学学习。 </dd> <dd class="cont2">543次学习</dd> </dl> </li> <li> <a href="/course/2.html" class="img_box" target="_blank" title="GO语言核心编程课程"> <img src="/uploads/20221221/634ad7404159bfefc6a54a564d437b5f.png" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="GO语言核心编程课程"> </a> <dl> <dt class="lineTwoOverflow"><a href="/course/2.html" target="_blank" class="aBlack" title="GO语言核心编程课程">GO语言核心编程课程</a></dt> <dd class="cont1 lineTwoOverflow"> 本课程采用真实案例,全面具体可落地,从理论到实践,一步一步将GO核心编程技术、编程思想、底层实现融会贯通,使学习者贴近时代脉搏,做IT互联网时代的弄潮儿。 </dd> <dd class="cont2">516次学习</dd> </dl> </li> <li> <a href="/course/74.html" class="img_box" target="_blank" title="简单聊聊mysql8与网络通信"> <img src="/uploads/20240103/bad35fe14edbd214bee16f88343ac57c.png" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="简单聊聊mysql8与网络通信"> </a> <dl> <dt class="lineTwoOverflow"><a href="/course/74.html" target="_blank" class="aBlack" title="简单聊聊mysql8与网络通信">简单聊聊mysql8与网络通信</a></dt> <dd class="cont1 lineTwoOverflow"> 如有问题加微信:Le-studyg;在课程中,我们将首先介绍MySQL8的新特性,包括性能优化、安全增强、新数据类型等,帮助学生快速熟悉MySQL8的最新功能。接着,我们将深入解析MySQL的网络通信机制,包括协议、连接管理、数据传输等,让 </dd> <dd class="cont2">500次学习</dd> </dl> </li> <li> <a href="/course/57.html" class="img_box" target="_blank" title="JavaScript正则表达式基础与实战"> <img src="/uploads/20221226/bbe4083bb3cb0dd135fb02c31c3785fb.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="JavaScript正则表达式基础与实战"> </a> <dl> <dt class="lineTwoOverflow"><a href="/course/57.html" target="_blank" class="aBlack" title="JavaScript正则表达式基础与实战">JavaScript正则表达式基础与实战</a></dt> <dd class="cont1 lineTwoOverflow"> 在任何一门编程语言中,正则表达式,都是一项重要的知识,它提供了高效的字符串匹配与捕获机制,可以极大的简化程序设计。 </dd> <dd class="cont2">487次学习</dd> </dl> </li> <li> <a href="/course/28.html" class="img_box" target="_blank" title="从零制作响应式网站—Grid布局"> <img src="/uploads/20221223/ac110f88206daeab6c0cf38ebf5fe9ed.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="从零制作响应式网站—Grid布局"> </a> <dl> <dt class="lineTwoOverflow"><a href="/course/28.html" target="_blank" class="aBlack" title="从零制作响应式网站—Grid布局">从零制作响应式网站—Grid布局</a></dt> <dd class="cont1 lineTwoOverflow"> 本系列教程将展示从零制作一个假想的网络科技公司官网,分为导航,轮播,关于我们,成功案例,服务流程,团队介绍,数据部分,公司动态,底部信息等内容区块。网站整体采用CSSGrid布局,支持响应式,有流畅过渡和展现动画。 </dd> <dd class="cont2">485次学习</dd> </dl> </li> </ul> </div> <div class="rightContBox"> <div class="rightTit"> <a href="/ai.html" class="more" title="查看更多">查看更多<i class="iconfont"></i></a> <div class="tit lineOverflow">AI推荐</div> </div> <ul class="lessonRecomRList"> <li> <a href="/ai/13892.html" target="_blank" title="SuperCLUE中文大模型评测基准:功能、能力维度与应用指南" class="img_box"> <img src="/uploads/20260831/17881740316a955ecf5901d.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="SuperCLUE中文大模型评测基准:功能、能力维度与应用指南" style="object-fit:cover;width:100%;height:100%;"> </a> <dl> <dt class="lineTwoOverflow"><a href="/ai/13892.html" class="aBlack" target="_blank" title="SuperCLUE">SuperCLUE</a></dt> <dd class="cont1 lineTwoOverflow"> SuperCLUE是权威的中文大语言模型综合评测基准,涵盖语言理解、知识应用、AI Agent智能体及安全性等12项核心能力。通过多轮对话与客观测试,定期发布榜单与技术报告,为模型研发、优化及行业选型提供科学依据。 </dd> <dd class="cont2">159次使用</dd> </dl> </li> <li> <a href="/ai/13891.html" target="_blank" title="C-Eval中文评测基准:大语言模型多学科能力评估指南" class="img_box"> <img src="/uploads/20260902/17883342316a97d09714cfd.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="C-Eval中文评测基准:大语言模型多学科能力评估指南" style="object-fit:cover;width:100%;height:100%;"> </a> <dl> <dt class="lineTwoOverflow"><a href="/ai/13891.html" class="aBlack" target="_blank" title="C-Eval">C-Eval</a></dt> <dd class="cont1 lineTwoOverflow"> 深入了解C-Eval中文评估套件,涵盖52个学科与4级难度。本文详解其功能特点、Zero-shot/Few-shot使用方法及代码示例,助您全面评测LLM中文理解与泛化能力。 </dd> <dd class="cont2">87次使用</dd> </dl> </li> <li> <a href="/ai/13879.html" target="_blank" title="ClickPrompt:AI提示词生成与优化工具,支持Stable Diffusion、ChatGPT及代码辅助" class="img_box"> <img src="/uploads/20260904/17885016316a9a5e7f3525b.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="ClickPrompt:AI提示词生成与优化工具,支持Stable Diffusion、ChatGPT及代码辅助" style="object-fit:cover;width:100%;height:100%;"> </a> <dl> <dt class="lineTwoOverflow"><a href="/ai/13879.html" class="aBlack" target="_blank" title="ClickPrompt">ClickPrompt</a></dt> <dd class="cont1 lineTwoOverflow"> ClickPrompt是一款专为AI提示词编写者设计的开源在线工具,支持Stable Diffusion绘图、ChatGPT对话及GitHub Copilot代码辅助。提供Prompt自动生成、一键运行、社区分享及可视化优化功能,帮助用户高效获取精准AI输出。 </dd> <dd class="cont2">47次使用</dd> </dl> </li> <li> <a href="/ai/13878.html" target="_blank" title="PromptHero官网:AI提示词搜索、优化与学习平台,支持Midjourney/Stable Diffusion" class="img_box"> <img src="/uploads/20260905/17885772316a9b85cfca610.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="PromptHero官网:AI提示词搜索、优化与学习平台,支持Midjourney/Stable Diffusion" style="object-fit:cover;width:100%;height:100%;"> </a> <dl> <dt class="lineTwoOverflow"><a href="/ai/13878.html" class="aBlack" target="_blank" title="PromptHero">PromptHero</a></dt> <dd class="cont1 lineTwoOverflow"> PromptHero是专业的AI提示词搜索引擎与优化平台,支持Stable Diffusion、Midjourney等主流模型。提供海量提示词库、分类搜索、在线课程及社区互动,助力用户高效生成高质量AI图像与文本。 </dd> <dd class="cont2">30次使用</dd> </dl> </li> <li> <a href="/ai/13875.html" target="_blank" title="OpenArt免费开源指南:Stable Diffusion Prompt Book提示词手册详解" class="img_box"> <img src="/uploads/20260904/17885214316a9aabd7a3b94.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="OpenArt免费开源指南:Stable Diffusion Prompt Book提示词手册详解" style="object-fit:cover;width:100%;height:100%;"> </a> <dl> <dt class="lineTwoOverflow"><a href="/ai/13875.html" class="aBlack" target="_blank" title="Stable Diffusion Prompt Book">Stable Diffusion Prompt Book</a></dt> <dd class="cont1 lineTwoOverflow"> 深入解析OpenArt推出的Stable Diffusion Prompt Book,这本免费的开源提示词指南涵盖从基础语法到高级技巧,提供风格化词库与参数建议,助您优化AI绘画生成效果。 </dd> <dd class="cont2">31次使用</dd> </dl> </li> </ul> </div> <!-- 相关文章 --> <div class="rightContBox"> <div class="rightTit"> <a href="/articlelist.html" class="more" title="查看更多">查看更多<i class="iconfont"></i></a> <div class="tit lineOverflow">相关文章</div> </div> <ul class="aboutArticleRList"> <li> <dl> <dt class="lineTwoOverflow"><a href="/article/207000.html" class="aBlack" title="JavaScript函数定义及示例详解">JavaScript函数定义及示例详解</a></dt> <dd> <span class="left">2025-05-11</span> <span class="right">502浏览</span> </dd> </dl> </li> <li> <dl> <dt class="lineTwoOverflow"><a href="/article/621422.html" class="aBlack" title="智能体安全引领产业升级——国内AI安全产品市场深度分析">智能体安全引领产业升级——国内AI安全产品市场深度分析</a></dt> <dd> <span class="left">2026-08-21</span> <span class="right">501浏览</span> </dd> </dl> </li> <li> <dl> <dt class="lineTwoOverflow"><a href="/article/619053.html" class="aBlack" title="CSS变量简化按钮悬停效果技巧">CSS变量简化按钮悬停效果技巧</a></dt> <dd> <span class="left">2026-05-31</span> <span class="right">501浏览</span> </dd> </dl> </li> <li> <dl> <dt class="lineTwoOverflow"><a href="/article/618916.html" class="aBlack" title="JavaScript符号类型详解与应用">JavaScript符号类型详解与应用</a></dt> <dd> <span class="left">2026-05-31</span> <span class="right">501浏览</span> </dd> </dl> </li> <li> <dl> <dt class="lineTwoOverflow"><a href="/article/612539.html" class="aBlack" title="HTML剪贴板复制粘贴怎么用">HTML剪贴板复制粘贴怎么用</a></dt> <dd> <span class="left">2026-05-26</span> <span class="right">501浏览</span> </dd> </dl> </li> </ul> </div> </div> </div> <div class="footer"> <div class="footerIn"> <div class="footLeft"> <div class="linkBox"> <a href="/about/1.html" target="_blank" class="aBlack" title="关于我们">关于我们</a> <a href="/about/5.html" target="_blank" class="aBlack" title="免责声明">免责声明</a> <a href="#" class="aBlack" title="意见反馈">意见反馈</a> <a href="/about/2.html" class="aBlack" target="_blank" title="联系我们">联系我们</a> <a href="/send.html" class="aBlack" title="广告合作">内容提交</a> <a href="/manual/go/" target="_blank" class="aBlack" title="手册">手册</a> </div> <div class="footTip">Golang学习网:公益在线Go学习平台,帮助Go学习者快速成长!</div> <div class="shareBox"> <span><i class="qq"></i>技术交流群</span> </div> <div class="copyRight"> Copyright 2023 http://www.17golang.com/ All Rights Reserved | <a href="https://beian.miit.gov.cn/" target="_blank" title="备案">湘ICP备19018815号-4</a> </div> </div> <div class="footRight"> <ul class="encodeList"> <li> <div class="encodeImg"> <img src="/assets/examples/qrcode_for_gh.jpg" alt="Golang学习网"> </div> <div class="tit">关注公众号</div> <div class="tip">Golang学习网</div> </li> <div class="clear"></div> </ul> </div> <div class="clear"></div> </div> </div> <!-- 微信登录弹窗 --> <style> .popupBg .n-error{ color: red; } </style> <div class="popupBg"> <div class="loginBoxBox"> <div class="imgbg"> <img src="/assets/images/leftlogo.jpg" alt=""> </div> <!-- 微信登录 --> <div class="loginInfo encodeLogin" style="display: none;"> <div class="closeIcon" onclick="$('.popupBg').hide();"></div> <div class="changeLoginType cursorPointer create_wxqrcode" onclick="$('.loginInfo').hide();$('.passwordLogin').show();"> <div class="tip">密码登录在这里</div> </div> <div class="encodeInfo"> <div class="tit"><i></i> 微信扫码登录或注册</div> <div class="encodeImg"> <span id="wx_login_qrcode"><img src="/assets/examples/code.png" alt="二维码"></span> <!-- <div class="refreshBox"> <p>二维码失效</p> <button type="button" class="create_wxqrcode">刷新1111</button> </div> --> </div> <div class="tip">打开微信扫一扫,快速登录/注册</div> </div> <div class="beforeLoginTip">登录即同意 <a href="#" class="aBlue" title="用户协议">用户协议</a> 和 <a href="#" class="aBlue" title="隐私政策">隐私政策</a></div> </div> <!-- 密码登录 --> <div class="loginInfo passwordLogin"> <div class="closeIcon" onclick="$('.popupBg').hide();"></div> <div class="changeLoginType cursorPointer create_wxqrcode" onclick="$('.loginInfo').hide();$('.encodeLogin').show();"> <div class="tip">微信登录更方便</div> </div> <div class="passwordInfo"> <ul class="logintabs selfTabMenu"> <li class="selfTabItem loginFormLi curr">密码登录</li> <li class="selfTabItem registerFormBox ">注册账号</li> </ul> <div class="selfTabContBox"> <div class="selfTabCont loginFormBox" style="display: block;"> <form name="form" id="login-form" class="form-vertical form" method="POST" action="/index/user/login"> <input type="hidden" name="url" value="//www.17golang.com/article/508598.html"/> <input type="hidden" name="__token__" value="e4411bc65c881de6d9d785347d8b584d" /> <div class="form-group" style="height:70px;"> <input class="form-control" id="account" type="text" name="account" value="" data-rule="required" placeholder="邮箱/用户名" autocomplete="off"> </div> <div class="form-group" style="height:70px;"> <input class="form-control" id="password" type="password" name="password" data-rule="required;password" placeholder="密码" autocomplete="off"> </div> <div class="codeBox" style="height:70px;"> <div class="form-group" style="height:70px; width:205px; float: left;"> <input type="text" name="captcha" class="form-control" placeholder="验证码" data-rule="required;length(4)" /> </div> <span class="input-group-btn" style="padding:0;border:none;"> <img src="/captcha.html" width="100" height="45" onclick="this.src = '/captcha.html?r=' + Math.random();"/> </span> </div> <div class="other"> <a href="#" class="forgetPwd aGray" onclick="$('.loginInfo').hide();$('.passwordForget').show();" title="忘记密码">忘记密码</a> </div> <div class="loginBtn mt25"> <button type="submit">登录</button> </div> </form> </div> <div class="selfTabCont registerFormBox" style="display: none;"> <form name="form1" id="register-form" class="form-vertical form" method="POST" action="/index/user/register"> <input type="hidden" name="invite_user_id" value="0"/> <input type="hidden" name="url" value="//www.17golang.com/article/508598.html"/> <input type="hidden" name="__token__" value="e4411bc65c881de6d9d785347d8b584d" /> <div class="form-group" style="height:70px;"> <input type="text" name="email" id="email2" data-rule="required;email" class="form-control" placeholder="邮箱"> </div> <div class="form-group" style="height:70px;"> <input type="text" id="username" name="username" data-rule="required;username" class="form-control" placeholder="用户名必须3-30个字符"> </div> <div class="form-group" style="height:70px;"> <input type="password" id="password2" name="password" data-rule="required;password" class="form-control" placeholder="密码必须6-30个字符"> </div> <div class="codeBox" style="height:70px;"> <div class="form-group" style="height:70px; width:205px; float: left;"> <input type="text" name="captcha" class="form-control" placeholder="验证码" data-rule="required;length(4)" /> </div> <span class="input-group-btn" style="padding:0;border:none;"> <img src="/captcha.html" width="100" height="45" onclick="this.src = '/captcha.html?r=' + Math.random();"/> </span> </div> <div class="loginBtn"> <button type="submit">注册</button> </div> </form> </div> </div> </div> <div class="beforeLoginTip">登录即同意 <a href="https://www.17golang.com/about/3.html" target="_blank" class="aBlue" title="用户协议">用户协议</a> 和 <a href="https://www.17golang.com/about/4.html" target="_blank" class="aBlue" title="隐私政策">隐私政策</a></div> </div> <!-- 重置密码 --> <div class="loginInfo passwordForget"> <div class="closeIcon" onclick="$('.popupBg').hide();"></div> <div class="returnLogin cursorPointer" onclick="$('.passwordForget').hide();$('.passwordLogin').show();">返回登录</div> <div class="passwordInfo"> <ul class="logintabs selfTabMenu"> <li class="selfTabItem">重置密码</li> </ul> <div class="selfTabContBox"> <div class="selfTabCont"> <form id="resetpwd-form" class="form-horizontal form-layer nice-validator n-default n-bootstrap form" method="POST" action="/api/user/resetpwd.html" novalidate="novalidate"> <div style="height:70px;"> <input type="text" class="form-control" id="email" name="email" value="" placeholder="输入邮箱" aria-invalid="true"> </div> <div class="codeBox" style="height:70px;"> <div class="form-group" style="height:70px; width:205px; float: left;"> <input type="text" name="captcha" class="form-control" placeholder="验证码" /> </div> <span class="input-group-btn" style="padding:0;border:none;"> <a href="javascript:;" class="btn btn-primary btn-captcha cursorPointer" style="background: #2080F8; border-radius: 4px; color: #fff; padding: 12px; position: absolute;" data-url="/api/ems/send.html" data-type="email" data-event="resetpwd">发送验证码</a> </span> </div> <input type="password" class="form-control" id="newpassword" name="newpassword" value="" placeholder="请输入6-18位密码"> <div class="loginBtn mt25"> <button type="submit">重置密码</button> </div> </form> </div> </div> </div> </div> </div> </div> <script src="/assets/js/juejin-theme.js?v=20260613b" defer></script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?e34c3e8ab31ba35d7e1c48ea8d77315f"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script src="/assets/js/frontend/common.js"></script> </body> </html>