File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed 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 )
3
2
4
3
<a href =" https://devforth.io " ><img src =" https://raw.githubusercontent.com/devforth/OnLogs/e97944fffc24fec0ce2347b205c9bda3be8de5c5/.assets/df_powered_by.svg " style =" height :36px " /></a >
5
4
5
+ # World's fastest lightweight zero-configuration SPA HTTP server.
6
6
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.
8
8
9
- # Benefits
9
+ ## Benefits
10
10
11
11
* Zero-configuration in Docker without managing additional configs
12
12
* 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
18
18
* Plays well with CDNs caching (e.g. Clouflare), support for ignoring cache of fixed URLs like service worker
19
19
* Created and maintained by Devforth 💪🏼
20
20
21
- # Spa-to-http vs Nginx
21
+ ## Spa-to-http vs Nginx
22
22
23
23
| | Spa-to-http | Nginx |
24
24
| ---| ---| ---|
@@ -37,7 +37,7 @@ Performence accroding to [Spa-to-http vs Nginx benchmark (End of the post)](http
37
37
| Requests-per-second on 5 KiB JS file at localhost * | ✅66126 (5.2% faster) | ❌62831 |
38
38
| Transfer speed on 5 KiB HTML file * | ✅301.32 MiB/sec (4.5% faster) | ❌288.4 |
39
39
40
- # Hello world & ussage
40
+ ## Hello world & ussage
41
41
42
42
Create ` Dockerfile ` in yoru SPA directory (near ` package.json ` ):
43
43
You can’t perform that action at this time.
0 commit comments