<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>LegspCpd Blog</title><description>LegspCpd 的个人博客，记录学习与生活点滴，分享技术经验与见解。</description><link>https://legspcpd.asia/</link><language>zh-CN</language><item><title>给站点做两套皮肤，并且切换时不跳转</title><link>https://legspcpd.asia/posts/dual-theme-in-place-switch/</link><guid isPermaLink="true">https://legspcpd.asia/posts/dual-theme-in-place-switch/</guid><description>从参考站反推出机制、用 &lt;html&gt; 上的一个属性承载主题、以及在 Astro 里踩到的那个坑——站内跳转会把根属性换掉，于是用户切了主题、一点进文章就丢。</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate><category>前端</category><category>Astro</category><category>CSS</category><category>主题</category><category>排查</category></item><item><title>打开先闪一堆乱码，然后才正常——这个坑我踩了两次</title><link>https://legspcpd.asia/posts/fouc-first-paint/</link><guid isPermaLink="true">https://legspcpd.asia/posts/fouc-first-paint/</guid><description>首屏骨架的样式写在了延迟加载的 CSS 包里，于是页面先以&quot;没排版&quot;的样子出现。数字很直白：首屏 9KB，另一半 472KB。以及为什么同一个错误我在 SFC 里又犯了一遍。</description><pubDate>Thu, 15 Oct 2026 00:00:00 GMT</pubDate><category>性能</category><category>CSS</category><category>Astro</category><category>前端</category><category>首屏</category></item><item><title>关于「把博客改得像 Claude」这件事</title><link>https://legspcpd.asia/posts/making-blog-feel-like-claude/</link><guid isPermaLink="true">https://legspcpd.asia/posts/making-blog-feel-like-claude/</guid><description>朋友说我的博客太&quot;用力&quot;了，应该学学 Claude 那种不争的清爽。我花了两天改，然后发现最难的不是配色。</description><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>设计</category><category>随笔</category><category>前端</category></item><item><title>一次部署瘦身 45MB 的过程</title><link>https://legspcpd.asia/posts/slimmed-deploy-by-45mb/</link><guid isPermaLink="true">https://legspcpd.asia/posts/slimmed-deploy-by-45mb/</guid><description>顺手写了个脚本量产物体积，发现 170MB 里有 45MB 从未被任何页面引用。以及一个关于&quot;自引用误判&quot;的坑。</description><pubDate>Thu, 08 Oct 2026 00:00:00 GMT</pubDate><category>前端</category><category>部署</category><category>性能</category><category>工程实践</category></item><item><title>给博客加功能时，我踩过的三个反模式</title><link>https://legspcpd.asia/posts/three-antipatterns-in-feature-work/</link><guid isPermaLink="true">https://legspcpd.asia/posts/three-antipatterns-in-feature-work/</guid><description>写脚本改代码、凭记忆猜 API、把&quot;能编译&quot;当&quot;能用&quot;——这三个错误我都犯过，而且都花了一轮才修好。</description><pubDate>Tue, 06 Oct 2026 00:00:00 GMT</pubDate><category>博客</category><category>前端</category><category>工程实践</category><category>复盘</category></item><item><title>移动端适配不是&quot;加个断点&quot;</title><link>https://legspcpd.asia/posts/mobile-adaptation-is-not-breakpoints/</link><guid isPermaLink="true">https://legspcpd.asia/posts/mobile-adaptation-is-not-breakpoints/</guid><description>断点只是起点。真正让页面在窄屏下&quot;活着&quot;的，是那些容易被忽略的细节：触摸尺寸、横向溢出、降级路径。</description><pubDate>Sun, 04 Oct 2026 00:00:00 GMT</pubDate><category>前端</category><category>移动端</category><category>CSS</category></item><item><title>EdgeOne 静态部署：从崩溃到稳定，一次完整的排查记录</title><link>https://legspcpd.asia/posts/edgeone-deploy-deep-dive/</link><guid isPermaLink="true">https://legspcpd.asia/posts/edgeone-deploy-deep-dive/</guid><description>从 &quot;Cannot find native binding&quot; 到警告清零，这次把 EdgeOne 静态部署里踩过的坑完整记录下来。</description><pubDate>Sat, 03 Oct 2026 00:00:00 GMT</pubDate><category>EdgeOne</category><category>部署</category><category>前端</category><category>排错</category></item><item><title>为什么我把博客的依赖从&quot;能跑就行&quot;改成了&quot;每一步都要能解释&quot;</title><link>https://legspcpd.asia/posts/why-i-changed-dep-strategy/</link><guid isPermaLink="true">https://legspcpd.asia/posts/why-i-changed-dep-strategy/</guid><description>一次依赖事故之后的想法：版本号不是护身符，可复现的构建才是。</description><pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate><category>博客</category><category>前端</category><category>工程实践</category></item><item><title>EdgeOne 静态部署踩坑实录</title><link>https://legspcpd.asia/posts/edgeone-static-deploy/</link><guid isPermaLink="true">https://legspcpd.asia/posts/edgeone-static-deploy/</guid><description>从 Astro 7 到 EdgeOne Pages，中间横着一个 native binding 和一条&quot;能编译但跑不起来&quot;的报错链。</description><pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate><category>EdgeOne</category><category>部署</category><category>前端</category></item><item><title>吐槽：那些年我为了&quot;上线&quot;踩过的坑</title><link>https://legspcpd.asia/posts/rant-about-shipping/</link><guid isPermaLink="true">https://legspcpd.asia/posts/rant-about-shipping/</guid><description>一段没有营养的情绪输出，以及我在写完之后试图找回的那么一点理性。</description><pubDate>Tue, 29 Sep 2026 00:00:00 GMT</pubDate><category>吐槽</category><category>日常</category><category>自省</category></item><item><title>我把博客的样式系统推倒重写了一次</title><link>https://legspcpd.asia/posts/rewrite-my-blog/</link><guid isPermaLink="true">https://legspcpd.asia/posts/rewrite-my-blog/</guid><description>一次从&quot;能跑就行&quot;到&quot;讲清楚为什么&quot;的返工。记录了变量缺失、路由冲突、样式失效这些看起来互不相关却同源的问题。</description><pubDate>Mon, 28 Sep 2026 00:00:00 GMT</pubDate><category>博客</category><category>前端</category><category>复盘</category></item><item><title>Cloudreve也能部署到Cloudflare Worker上面了？！</title><link>https://legspcpd.asia/posts/cloudreve-worker/</link><guid isPermaLink="true">https://legspcpd.asia/posts/cloudreve-worker/</guid><description>Cloudreve-Worker 使用与部署完整指南。需要 R2 存储（开通需绑卡），支持多数据库主备容灾。推荐 fork 仓库后在 Cloudflare 面板手动部署，部署后务必绑定自定义域名。</description><pubDate>Mon, 21 Sep 2026 00:00:00 GMT</pubDate><category>Cloudreve</category><category>Cloudflare Workers</category><category>R2</category><category>Neon</category><category>部署教程</category></item><item><title>仅需10分钟即可制作出一个Cloudflare的优选域名</title><link>https://legspcpd.asia/posts/cf-cname/</link><guid isPermaLink="true">https://legspcpd.asia/posts/cf-cname/</guid><description>本文介绍如何通过 DNSPod 按运营商线路划分（电信/联通/移动）配置 CDN 优选 CNAME 或 IP，实现国内网络访问加速。</description><pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate><category>DNSPod</category><category>Cloudflare</category><category>优选域名</category><category>CDN</category><category>域名解析</category></item><item><title>有限生命里的无限当下</title><link>https://legspcpd.asia/posts/day/yxdsm/</link><guid isPermaLink="true">https://legspcpd.asia/posts/day/yxdsm/</guid><description>关于「最后一次」的一段思考：多数时候它不是终点，而是提醒——别沉溺过去，也别把未来想太远。</description><pubDate>Wed, 06 May 2026 00:00:00 GMT</pubDate><category>日常</category></item><item><title>EdgeOne优选教程，让EdgeOne在国内更快更稳</title><link>https://legspcpd.asia/posts/eo-ys/</link><guid isPermaLink="true">https://legspcpd.asia/posts/eo-ys/</guid><description>EdgeOne优选教程，教你如何手动调整DNS解析和路由规则，让腾讯云EdgeOne在国内外访问更快更稳，包含A/AAAA记录优选、边缘函数路由、多IP优选等完整方案。</description><pubDate>Mon, 04 May 2026 00:00:00 GMT</pubDate><category>EdgeOne</category><category>EdgeOne优选</category><category>EdgeOne优选教程</category><category>教程</category><category>CDN</category><category>加速</category></item><item><title>Cloudflare优选教程，让Cloudflare在国内不再是减速器</title><link>https://legspcpd.asia/posts/cf-ys/</link><guid isPermaLink="true">https://legspcpd.asia/posts/cf-ys/</guid><description>从原理到实操，讲解如何通过 Cloudflare SaaS 或 Worker 路由自控规则层与解析层，实现国内访问的 Cloudflare 优选。</description><pubDate>Sun, 19 Apr 2026 00:00:00 GMT</pubDate><category>Cloudflare</category><category>Cloudflare优选</category><category>Cloudflare优选教程</category><category>教程</category></item><item><title>日记</title><link>https://legspcpd.asia/posts/day/</link><guid isPermaLink="true">https://legspcpd.asia/posts/day/</guid><description>一篇很短的日记，记下当时的疲惫，以及一首听了很多遍的 Zeraphym - Lifeline。</description><pubDate>Tue, 06 May 1997 00:00:00 GMT</pubDate><category>日记</category></item><item><title>记录</title><link>https://legspcpd.asia/posts/qilu/</link><guid isPermaLink="true">https://legspcpd.asia/posts/qilu/</guid><description>一些常用服务的记录，目前包含 GitHub 反向代理地址。</description><pubDate>Mon, 01 Jan 1900 00:00:00 GMT</pubDate><category>记录</category></item></channel></rss>