<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Performance on Beacon Demo</title><link>http://beacon-demo.starry-s.moe/tags/performance/</link><description>Recent content in Performance on Beacon Demo</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 08 Jul 2026 10:15:00 +0800</lastBuildDate><atom:link href="http://beacon-demo.starry-s.moe/tags/performance/index.xml" rel="self" type="application/rss+xml"/><item><title>Building a Fast Static Site with Hugo</title><link>http://beacon-demo.starry-s.moe/posts/building-a-fast-static-site/</link><pubDate>Wed, 08 Jul 2026 10:15:00 +0800</pubDate><guid>http://beacon-demo.starry-s.moe/posts/building-a-fast-static-site/</guid><description>&lt;p&gt;Static sites are fast by default, but it is surprisingly easy to give that speed
away. Here are the habits I keep coming back to.&lt;/p&gt;
&lt;h2 id="keep-the-asset-pipeline-lean"&gt;Keep the asset pipeline lean&lt;/h2&gt;
&lt;p&gt;Hugo Pipes can bundle, minify, and fingerprint CSS and JS without any external
tooling. One concatenated, fingerprinted stylesheet beats a dozen render-blocking
requests every time.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Bundle scripts into a single file&lt;/li&gt;
&lt;li&gt;Minify and fingerprint in production only&lt;/li&gt;
&lt;li&gt;Inline the tiny critical bits (like the theme-flash guard) directly in &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="measure-the-real-thing"&gt;Measure the real thing&lt;/h2&gt;
&lt;p&gt;Build time and page weight are both worth watching:&lt;/p&gt;</description></item></channel></rss>