Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/vedang/nginx-nonewlines
- Owner: vedang
- Created: 2010-07-18T15:22:16.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-04-03T10:43:46.000Z (over 13 years ago)
- Last Synced: 2024-10-04T13:32:16.098Z (about 1 month ago)
- Topics: c, nginx, nginx-module
- Language: C
- Homepage:
- Size: 233 KB
- Stars: 18
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- awesome-nginx - nginx-nonewlines - This is an nginx module to strip the served HTML of all newlines (\n and \r characters). (Third Party Modules / C Modules)
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