<?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 jwogrady</title>
		<link>https://www.jwogrady.com/tags/performance/</link>
		<description>Recent content in performance on jwogrady</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sun, 20 Sep 2026 16:53:00 -0500</lastBuildDate>
		
			<atom:link href="https://www.jwogrady.com/tags/performance/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>1,784,655 bytes to 36,616, by moving one file</title>
				<link>https://www.jwogrady.com/posts/one-point-seven-megabytes/</link>
				<pubDate>Sun, 20 Sep 2026 16:53:00 -0500</pubDate>
				<guid>https://www.jwogrady.com/posts/one-point-seven-megabytes/</guid>
				<description>&lt;p&gt;The desktop screenshot is 6664 × 2168 and 1.74 MB. It was being served at full&#xA;size into a column about 672px wide. Every byte past that width was downloaded&#xA;and thrown away.&lt;/p&gt;&#xA;&lt;p&gt;What surprised me is that the fix isn&amp;rsquo;t a setting. It&amp;rsquo;s &lt;em&gt;where the file lives&lt;/em&gt;.&lt;/p&gt;&#xA;&lt;p&gt;From this:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;content/posts/first-try.md&#xA;assets/my-virtual-desktop-setup.png&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;to this:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;content/posts/first-try/index.md&#xA;content/posts/first-try/my-virtual-desktop-setup.png&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;That&amp;rsquo;s a &lt;strong&gt;page bundle&lt;/strong&gt;, and inside one the image stops being a loose asset&#xA;and becomes a &lt;em&gt;page resource&lt;/em&gt; — reachable via &lt;code&gt;.Page.Resources.Get&lt;/code&gt;, carrying&#xA;its own front matter for alt text and caption and credit, and eligible for&#xA;&lt;code&gt;.Resize&lt;/code&gt;. The theme&amp;rsquo;s figure partial then does what it already does for its&#xA;own images: anything over 1400px wide gets resized and converted to WebP at&#xA;q82.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
