1 个仓库
Tools that simplify the structure of web documents and optimize their delivery attributes.
Distinct from Web Optimizers: Candidates focus on AI-optimized docs or 3D web optimizers, not general HTML document structure optimization.
Explore 1 awesome GitHub repository matching web development · Web Document Optimizers. Refine with filters or upvote what's useful.
html-minifier 是一个 Node.js 实用程序,旨在通过优化标记、简化文档结构以及压缩嵌入式 CSS 和 JavaScript 来减小 HTML 文件大小。它作为一个 HTML 标记压缩器和 Web 文档优化器,移除空格、注释和冗余属性。 该工具的特色在于充当嵌入式资产优化器,通过专门的压缩引擎处理样式和脚本标签内的内容。它通过移除可选标签并将长文档类型(Doctype)替换为短版本来简化最终输出。 该项目涵盖了一系列优化能力,包括用于去除不必要引号和空值的属性优化,以及用于控制行长度的输出结构格式化。它还包括用于保护特定标签或内容块免受压缩过程影响的标记保留机制。
Simplifies HTML structures by removing optional tags and optimizing attribute quotes and values.