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",
"type": "module",
"version": "0.2.0-pre.29",
"version": "0.2.0-pre.30",
"private": true,
"scripts": {
"dev": "astro dev",

View file

@ -1,4 +1,18 @@
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: {
args: [
"--no-sandbox",
@ -13,9 +27,7 @@ export default {
buildStatic: true,
},
scanner: {
device: 'mobile',
sitemap: true,
throttle: false,
dynamicSampling: false,
samples: 3,
},