PageSpeed Insights config

This commit is contained in:
Firq 2024-10-23 00:20:44 +02:00
parent 8c425d8690
commit 99640791cb
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
2 changed files with 15 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"type": "module", "type": "module",
"version": "0.2.0-pre.29", "version": "0.2.0-pre.30",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",

View file

@ -1,4 +1,18 @@
export default { export default {
lighthouseOptions: {
throttlingMethod: "devtools",
throttling: {
cpuSlowdownMultiplier: 4,
requestLatencyMs: 150,
downloadThroughputKbps: 1638.4,
uploadThroughputKbps: 1638.4,
},
screenEmulation: {
width: 412,
height: 823,
deviceScaleFactor: 1.75,
}
},
puppeteerOptions: { puppeteerOptions: {
args: [ args: [
"--no-sandbox", "--no-sandbox",
@ -13,9 +27,7 @@ export default {
buildStatic: true, buildStatic: true,
}, },
scanner: { scanner: {
device: 'mobile',
sitemap: true, sitemap: true,
throttle: false,
dynamicSampling: false, dynamicSampling: false,
samples: 3, samples: 3,
}, },