File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # spa-to-http ![ Coverage Badge] ( https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/LbP22/7a0933f8cba0bddbcc95c8b850e32663/raw/spa-to-http_units_passing__heads_main.json ) ![ Coverage Badge] ( https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/LbP22/7a0933f8cba0bddbcc95c8b850e32663/raw/spa-to-http_units_coverage__heads_main.json )
2-
1+ ![ Coverage Badge] ( https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/LbP22/7a0933f8cba0bddbcc95c8b850e32663/raw/spa-to-http_units_passing__heads_main.json ) ![ Coverage Badge] ( https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/LbP22/7a0933f8cba0bddbcc95c8b850e32663/raw/spa-to-http_units_coverage__heads_main.json )
32
43<a href =" https://devforth.io " ><img src =" https://raw.githubusercontent.com/devforth/OnLogs/e97944fffc24fec0ce2347b205c9bda3be8de5c5/.assets/df_powered_by.svg " style =" height :36px " /></a >
54
5+ # World's fastest lightweight zero-configuration SPA HTTP server.
66
7- Lightweight zero-configuration SPA HTTP server. Serves SPA bundle on HTTP port which makes it play well with traefik
7+ Simply serves SPA bundle on HTTP port which makes it play well with Traefik / Cloudflare another reverse proxy.
88
9- # Benefits
9+ ## Benefits
1010
1111* Zero-configuration in Docker without managing additional configs
1212* 10x times smaller then Nginx, faster startup time, a bit better or same performance
@@ -18,7 +18,7 @@ Lightweight zero-configuration SPA HTTP server. Serves SPA bundle on HTTP port w
1818* Plays well with CDNs caching (e.g. Clouflare), support for ignoring cache of fixed URLs like service worker
1919* Created and maintained by Devforth 💪🏼
2020
21- # Spa-to-http vs Nginx
21+ ## Spa-to-http vs Nginx
2222
2323| | Spa-to-http | Nginx |
2424| ---| ---| ---|
@@ -37,7 +37,7 @@ Performence accroding to [Spa-to-http vs Nginx benchmark (End of the post)](http
3737| Requests-per-second on 5 KiB JS file at localhost * | ✅66126 (5.2% faster) | ❌62831 |
3838| Transfer speed on 5 KiB HTML file * | ✅301.32 MiB/sec (4.5% faster) | ❌288.4 |
3939
40- # Hello world & ussage
40+ ## Hello world & ussage
4141
4242Create ` Dockerfile ` in yoru SPA directory (near ` package.json ` ):
4343
You can’t perform that action at this time.
0 commit comments