<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>MagicLen</title><link>https://magiclen.org/cn/tag/html-minifier/</link><description>多元化原创文章，内容包罗万象，有编程语言、网站应用、软件介绍、硬件介绍、操作系统、旅行游记、专题采访、益智问题、文学创作，以及作者们的知识分享和作品分享。</description><language>zh-CN</language><lastBuildDate>Sun, 22 Nov 2026 19:04:44 +0800</lastBuildDate><atom:link href="https://magiclen.org/cn/tag/html-minifier/feed/" rel="self" type="application/rss+xml"/><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>如何使用 Rust 编程语言来压缩 HTML？</title><link>https://magiclen.org/cn/html-minifier/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2018/09/html-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2018/09/html-220x162.png 1x, https://magiclen.org/wp-content/uploads/2018/09/html-440x324.png 2x, https://magiclen.org/wp-content/uploads/2018/09/html-660x486.png 3x" alt>
透过网页浏览器看到的网页绝大部分是使用 HTML 进行控制编排的，由于 HTML 的语法结构定义较为宽松，网页浏览器都有一定程度的容错率，因此有可能某个 100KB 的 HTML 实际上可以等价于不到 50KB 的 HTML，也就是说，多出来的数据量是完全不必要的，可是却会增加更多的网络流量和时间成本。]]></description><category>Rust</category><category>HTML</category><category>Rust</category><category>html-minifier</category><guid>https://magiclen.org/cn/html-minifier</guid><pubDate>Fri, 19 Oct 2018 20:00:40 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>