PageSpeed Insights config
This commit is contained in:
parent
8c425d8690
commit
99640791cb
2 changed files with 15 additions and 3 deletions
|
@ -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",
|
||||||
|
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue