Archive
Web14 writings
Two columns get cramped on a narrow screen — one column reads better
Tags
0ANtPjHyuPxn8fBnM830b0piSFzd3gpyvc657qsgTE22Ow7KbzdPg2D1nx7gUfMdOWbnFIEIRXhz2Ni+l6SMKZH/FgmHBh0u1ijfBqPvCMuszUkEIvvJOSAVspyodlPwwVBAp1u0RQjXysSS+2H6ndDa7bUd4B7IXUD7VLRE+gd7cfiiZmjzXkxzMR+iSovyduC0dMoL72MDpunQzLqW3SX0SV0px9uvVlwWxY32qsLtl4IsOIy1tHG+6rkzCeB9bRMW4qbj4+czDa0fdPCB3Jkg07AxOils78U24dHIyWj6tEKuApvLsiUE0tO9ZlH7tFt2++gFeyaVEFIORA6S7CgsloO0h5R3ZJ0nDeEYYR2RZnizk9vRD97Oj7HnVMgcut6MuFLOUC1MztId+L1r5IS5f1btUYhuhjyEGIG6EVJnuKWp76vVj+/EWF9mLxWnL2jNoRDZ1wMHKa+3ahIsZlirDzIh0f+YuFGwY7JqKPXILLgGkfVkB3cGTVJ7I9WNEe9+OXmtw2xCFnKj7Ooy0rdUW+0pymMAnkjqs3nkteOz7MLmEhlR1gG5mo9YOQmmQpIQYc1EXSs/F9FzvPzy0hzrq5Ua33eg5OnFOBWbGpfDX3SNWnW7cctP80a5xtSXrgKkI1wn0feKZdkPeTw7jkwgxGlVkKyTWZKmuyukrBdMjqxXcGIH0nsq2UrUKi1WBE1gKuZkEVmlUhtwJ6YVmekse1NXiAKZiVWYNohbXK7CTSWeJBtHC1IRyyKS8zNZdzj1r9d1Sj5J4YzeTJG/ZnE/6LimjGTUIXYFLdxeo2Q9bDEkBHhc4CDuXtQR7IECWkXNVzuEOcXvMWf66VeqSvfCRNToPemufYlYjkBeBQeDxilA1Nu6V39OXaEOSzZByF1dCzvyFpUPvAXYdurVYNEUX/NXU7isUbp8xILy8Ov3Q4slUm5u5LFC0rbLURFsLK4IHPULzNGuVOHBJnAELOAn19+fYM3NmnJtwJ2Wy11us/ujV+HUD9HdlS1u1bms68WaKvPiLAMHb5CEbkLoP6AVJtKTezfMxGGNhgzN/aZqw3dIf4LXkgeABOhN1cGi4AsswKgdwhqflcUpVku2uk0t51DTs57bNMtZG65muRtlrGcEmlIqaaSPmqii2TwU+a/f3X2QzStgixZSfqPTDKh7IHE0aPBIE7VjIayCBkdBeeFCDJWj+BegG08oMp0pMikFz5Aa7TqkvpZyoohmFYtg/Q8bywgwBVw9H+DO
- Migrating From instant.page to the Speculation Rules APIMigrating from instant.page to the browser-native Speculation Rules API, with notes on prefetch, prerender, side effects, and Swup/PJAX conflicts.
- UI/UX TerminologyWhy is it called a Radio Button, a Breadcrumb, a Toast? These UI terms trace back to car radios, Grimm's fairy tales, and toasters — metaphors early GUI designers borrowed from the real world.
- Exploring Progressive Image Loading TechniquesA deep dive into LQIP, BlurHash, ThumbHash, and other progressive image loading strategies for the web.
- Multi-Theme Blog Design in Hexo: Theme Switching With CSS Variables and the :Where SelectorHow to manage multiple blog themes with CSS variables and the :where selector, including Shiki syntax highlighting theme switching and a FOUC fix.
- Fix Markdown Footnote Jump Overlap With CSS Scroll-Margin-TopFix the common problem where fixed top navbars hide jump targets using scroll-margin-top rule
- Blog & OSS CDN Traffic Splitting Between Mainland China and OverseasICP filing approved. A quick record of setting up split CDN routing for domestic and international visitors.
- Understanding HTTPS: Encryption, Certificates, and TLSHow HTTPS secures web traffic, covering symmetric and asymmetric encryption, digital signatures, CA certificates and chain validation, and the TLS handshake.
- Understanding Responsive Images: From Pixels to DPR🤖 From physical pixels and CSS pixels to PPI and device pixel ratio, then on to responsive images with rendered vs. intrinsic size and srcset descriptors.
- Making Web Fast —— LCP Optimization🤖 Optimize LCP with preload, fetchpriority, responsive images and srcset. Covers Sharp image processing, CI/CD automation, and preload hints for better Core Web Vitals.
- Use Medium-Zoom in Hexo BlogIntegrate medium-zoom into a Hexo blog to replace image-link jumps with an in-page zoom interaction, including Icarus and PJAX notes.
- Web Authentication & AuthorizationFrom cookies to JWT: how the web works around HTTP's statelessness, and the trade-offs each step inherits.
- Blog Performance Optimization NotesOptimizations adopted while maintaining this site, from image compression to lazy loading and CDN.
- TomcatApache Tomcat is an open-source, lightweight web application server that implements the Java Servlet and JavaServer Pages (JSP) specs and part of Java EE.
- Http ProtocolHTTP is an application-layer protocol for transferring hypermedia documents such as HTML. This post covers request and response messages.