Jun 04从 instant.page 迁移到 Speculation Rules API12 分钟阅读从 instant.page 迁移到浏览器原生的 Speculation Rules API。本文介绍 prefetch 与 prerender 的区别、适用边界、实际配置,以及它为何与 Swup/PJAX 这类 SPA 导航方案的冲突。
Dec 18PostBuild With ESBuild & Minify-HTML13 分钟阅读静态站点可在CI增加PostBuild环节,进行图片压缩、CSS/JS 压缩合并等流程,以优化网站性能表现。本文主要记录使用ESBuild & minify-html编写PostBuild脚本,实现以下目标:
Nov 29Optimize Shiki's HTML Output With styleToClass Transformer6 分钟阅读使用Shiki styleToClass转换器优化HTML输出
Jun 29Making Web Fast —— LCP Optimization13 分钟阅读🤖 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.
浅色方案Catppuccin LatteNord LightSunnySong PorcelainCatppuccin LattelatteNord LightnordSunnysunnySong Porcelainsong-ci
深色方案Nord NightRosé PineCatppuccin MochaTokyo NightNord Nightnord-nightRosé Pinerose-pineCatppuccin MochamochaTokyo Nighttokyo-night