Skip to content

Commit b611c3e

Browse files
committed
Update docs, bump deps
1 parent b0fadd1 commit b611c3e

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ services:
3939
restart: unless-stopped
4040
sitespeed.io:
4141
container_name: sitespeed.io
42-
image: sitespeedio/sitespeed.io:17.8.1-plus1
42+
image: sitespeedio/sitespeed.io:19.6.0-plus1
4343
command: -V
4444
shm_size: 2g
4545
volumes:
@@ -78,7 +78,7 @@ services:
7878
- ./k6/scripts:/scripts
7979
grafana:
8080
container_name: grafana
81-
image: grafana/grafana:8.0.0
81+
image: grafana/grafana:8.1.5
8282
hostname: grafana
8383
# build: ./grafana
8484
depends_on:

docs/perf-1-liners.md

+15
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
> Using various tools to get raw data or trigger certain actions.
44
5+
## General
6+
7+
Log all link rel urls from a page in the dev tools console.
8+
9+
```js
10+
const rels = ['preload', 'prefetch', 'preconnect', 'dns-prefetch', 'prerender', 'modulepreload']
11+
12+
rels.forEach(element => {
13+
const linkElements = document.querySelectorAll(`link[rel="${element}"]`)
14+
const dot = linkElements.length > 0 ? '🟩' : '🟥'
15+
console.log(`${dot} ${element}`)
16+
linkElements.forEach(el => console.log(el))
17+
});
18+
```
19+
520
## cURL
621

722
### Find the Time to First Byte Using Curl

0 commit comments

Comments
 (0)