<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>WebP on TiJet</title><link>https://www.tainuohc.com/en/tags/webp/</link><description>Recent content in WebP on TiJet</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 04 Aug 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.tainuohc.com/en/tags/webp/index.xml" rel="self" type="application/rss+xml"/><item><title>Hugo Image Optimization: Cutting an 8.6MB Background to 310KB</title><link>https://www.tainuohc.com/en/blog/2026-08-04-hugo-image-optimization/</link><pubDate>Tue, 04 Aug 2026 00:00:00 +0000</pubDate><guid>https://www.tainuohc.com/en/blog/2026-08-04-hugo-image-optimization/</guid><description>&lt;h2 id="1-why-optimize-images">1. Why Optimize Images&lt;/h2>
&lt;p>Images are usually the biggest culprit for slow static sites:&lt;/p>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Reason&lt;/th>
 &lt;th>Explanation&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>Large file size&lt;/td>
 &lt;td>A 2560×1440 PNG can be 8-10MB&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Inefficient format&lt;/td>
 &lt;td>PNG is lossless — great for screenshots, bad for photos&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>No lazy loading&lt;/td>
 &lt;td>Page loads all images at once&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>No caching&lt;/td>
 &lt;td>Re-downloads on every visit&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;p>&lt;strong>Core idea:&lt;/strong> make the browser download smaller files.&lt;/p>
&lt;h2 id="2-hugo-image-processing-pipeline">2. Hugo Image Processing Pipeline&lt;/h2>
&lt;p>Hugo has built-in image processing that runs at build time:&lt;/p></description></item></channel></rss>