Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vedang/nginx-nonewlines

This is an nginx module to strip the served HTML of all newlines (\n and \r characters)
https://github.com/vedang/nginx-nonewlines

c nginx nginx-module

Last synced: 25 days ago
JSON representation

This is an nginx module to strip the served HTML of all newlines (\n and \r characters)

Awesome Lists containing this project

README

        

This NginX module strips the page of all newlines ('\n', '\r') and extra white-space ('\t' and extra ' ') before serving it. It follow the 'reddit' method of stripping out space everywhere except in areas marked between HTML comments and

If you wish to learn about writting nginx-modules, Evan Miller has written an excellent guide which can be found here: http://www.evanmiller.org/nginx-modules-guide.html