Skip to content

Instantly share code, notes, and snippets.

View denar90's full-sized avatar

Artem Denysov denar90

View GitHub Profile
+--------------------------------------+-------------------------------------------------------------------------------+
| Pros | Cons |
+--------------------------------------+-------------------------------------------------------------------------------+
| UX improvemnts | Critical CSS inlined, so can't be cached |
| Page isn't blocked for rendering | Need some workaround to extract critical CSS for different screen resolutions |
| Easy to apply for small applications | Hard to use on pages with dynamic components composition |
+--------------------------------------+-------------------------------------------------------------------------------+
{
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/76.0.3803.0 Safari/537.36",
"environment": {
"networkUserAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3694.0 Mobile Safari/537.36 Chrome-Lighthouse",
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/76.0.3803.0 Safari/537.36",
"benchmarkIndex": 1062
},
"lighthouseVersion": "5.0.0",
"fetchTime": "2019-05-23T14:09:36.416Z",
"requestedUrl": "https://www.apple.com/",
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36","environment":{"networkUserAgent":"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3694.0 Mobile Safari/537.36 Chrome-Lighthouse","hostUserAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36","benchmarkIndex":1540},"lighthouseVersion":"4.3.1","fetchTime":"2019-06-28T20:13:30.403Z","requestedUrl":"https://dev-meetups.org/","finalUrl":"https://dev-meetups.org/","runWarnings":[],"audits":{"is-on-https":{"id":"is-on-https","title":"Uses HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications between your app and your users, and is a prerequisite for HTTP/2 and many new web platform APIs. [Learn more](
name: CI
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout