# TinyHtml
**Repository Path**: mirrors_whyrusleeping/TinyHtml
## Basic Information
- **Project Name**: TinyHtml
- **Description**: An HTML minimizer written in pure Go for use in webserver applications, which by the way, Go is amazing at.
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-19
- **Last Updated**: 2026-03-14
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
#TinyHtml
A small html minimizer for use in web servers. Generally reduces size of code around 10-15%
Usage:
file,_ := os.Open("Somefile.html")
minHtml := tinyhtml.New(file)
//Assuming you are using it in a http request handler
http.ServeContent(w,r,"My Page", time.Now(), minHtml)
The Minimizer class is a wrapper over any io.Reader interface that also implements the io.Reader interface.