从 instant.page 迁移到 Speculation Rules APIJun 4从 instant.page 迁移到浏览器原生的 Speculation Rules API。本文介绍 prefetch 与 prerender 的区别、适用边界、实际配置,以及它为何与 Swup/PJAX 这类 SPA 导航方案的冲突。12 min read
PostBuild With ESBuild & Minify-HTMLDec 18静态站点可在CI增加PostBuild环节,进行图片压缩、CSS/JS 压缩合并等流程,以优化网站性能表现。本文主要记录使用ESBuild & minify-html编写PostBuild脚本,实现以下目标:13 min read
Optimize Shiki's HTML Output With styleToClass TransformerNov 29使用Shiki styleToClass转换器优化HTML输出6 min read
Making Web Fast —— LCP OptimizationJun 29🤖 Learn to optimize LCP performance using preload、fetchpriority、responsive images and srcset attributes. Master Sharp image processing, CI/CD automation, and preload hints to dramatically improve Core Web Vitals scores.13 min read