Skip to content

Commit 1935f8c

Browse files
committed
📘 doc: update server timing
1 parent e3b19ee commit 1935f8c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/plugins/server-timing.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ head:
1414
content: Plugin for Elysia that add support for streaming response and Server Sent Event, eg. OpenAI integration. Start by installing the plugin with "bun add @elysiajs/server-timing".
1515
---
1616

17-
# Stream Plugin
18-
This plugin add support for streaming response or sending Server Sent Event back to client.
17+
# Server Timing Plugin
18+
This plugin add support for auditing performance bottleneck with Server Timing API
1919

2020
Install with:
2121
```bash
@@ -37,7 +37,9 @@ Server Timing then will append header 'Server-Timing' with log duration, functio
3737

3838
To inspect, open browser developer tools > Network > [Request made through Elysia server] > Timing.
3939

40-
Then inspect the Server Timing of your server
40+
![Developer tools showing Server Timing screenshot](/assets/server-timing.webp)
41+
42+
Now you can effortlessly audit performance bottleneck of your server.
4143

4244
## Config
4345
Below is a config which is accepted by the plugin

docs/public/assets/server-timing.webp

-7.81 KB
Binary file not shown.

0 commit comments

Comments
 (0)