P5-html-clean

Jul 20, 2023

Cleans up HTML code for web browsers, not humans

The majority of the web pages of the internet today are much larger than they need to be. The reason for this is that HTML tends to be stored in a human readable format, with indenting, newlines and comments.

However, all of these comments, whitespace etc. are ignored by the browser, and needlessly lengthen download times.

Second, many people are using WYSIWYG HTML editors these days. This makes creating content easy. However these editors can cause a number of compatibility problems by tying themselves to a particular browser or operating system.

The HTMLClean module encapsulates a number of HTML optimizations and cleanups. The end result is HTML that loads faster, displays properly in more browsers. Think of it as a compiler that translates HTML input into optimized machine readable code.



Checkout these related ports:
  • Zope213 - Object-based web application platform Version 2.13
  • Zola - Fast static site generator
  • Zgrab2 - Fast Go application scanner
  • Zerowait-httpd - Lightweight and fast http server
  • Zenphoto - Simpler web photo gallery
  • Zend-framework - Framework for developing PHP web applications
  • Yuicompressor - The Yahoo! JavaScript and CSS Compressor
  • Ytdl - YouTube downloader written in Go
  • Yt-dlp - Command-line program for downloading videos from various platforms
  • Youtube_dl - Program for downloading videos from various services
  • Yourls - Your Own URL Shortener
  • You-get - Dumb downloader that scrapes the web
  • Yaws - Web server for dynamic content written in Erlang
  • Yarr - Yet another rss reader
  • Yarn - Package manager for node, alternative to npm (meta port)