source/plugins/pagespeed/README.md
</td>
<b>default:</b> no
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_pagespeed_token</code></h4></td> <td rowspan="2"><p>PageSpeed token</p> <blockquote> <p>⚠️ While not mandatory, it is strongly advised pass a token to avoid triggering the rate limiter. See <a href="https://developers.google.com/speed/docs/insights/v5/get-started">PageSpeed documentation</a> for more informations.</p> </blockquote> </td> </tr> <tr> <td nowrap="nowrap">🔐 Token🌐 Web instances must configure <code>settings.json</code>:
<ul> <li><i>metrics.api.google.pagespeed</i></li> </ul> <b>type:</b> <code>token</code> </td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_pagespeed_url</code></h4></td> <td rowspan="2"><p>Audited website</p> </td> </tr> <tr> <td nowrap="nowrap">⏯️ Cannot be preset<b>type:</b> <code>string</code>
<b>default:</b> <code>→ User attached website</code>
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_pagespeed_detailed</code></h4></td> <td rowspan="2"><p>Detailed results</p> <p>The following additional stats will be displayed:</p> <ul> <li>First Contentful Paint</li> <li>Speed Index</li> <li>Largest Contentful Paint</li> <li>Time to Interactive</li> <li>Total Blocking Time</li> <li>Cumulative Layout Shift</li> </ul> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>boolean</code><b>default:</b> no
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_pagespeed_screenshot</code></h4></td> <td rowspan="2"><p>Website screenshot</p> <p>Significantly increase filesize</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>boolean</code><b>default:</b> no
</td> </tr> <tr> <td nowrap="nowrap"><h4><code>plugin_pagespeed_pwa</code></h4></td> <td rowspan="2"><p>PWA Status</p> </td> </tr> <tr> <td nowrap="nowrap"><b>type:</b> <code>boolean</code><b>default:</b> no
</td> </tr> </table> <!--/options-->name: Succinct report
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.pagespeed.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://lecoq.io
name: Detailed report
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.pagespeed.detailed.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_detailed: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://lecoq.io
name: Screenshot
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.pagespeed.screenshot.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_screenshot: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://lecoq.io
name: Succinct report with PWA
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.pagespeed.svg
token: NOT_NEEDED
base: ""
plugin_pagespeed: yes
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
plugin_pagespeed_url: https://lecoq.io
plugin_pagespeed_pwa: yes