Adam Fortuna on Nostr: I spent a few hours e yesterday attempting to speed up Hardcover by changing ...
I spent a few hours e yesterday attempting to speed up Hardcover by changing FontAwesome to straight SVGs.
My hypothesis was that it would speed up performance - and it did! …some. Loading solid, duo and regular icons took 50ms each & some bandwidth. Not loading the library cut it down to just bw.
Unfortunately my Google Page Speed didn’t budge, and even went down 😭
I’m at 54 performance in mobile, 75 in desktop now. Next step to try is inlining critical CSS.
#JavaScript #css #WebDev
Published at
2023-08-11 15:26:28Event JSON
{
"id": "c5d3b1cdb5cf1020cefc3f2844298c2ce18aae66b8500538f71dfcb694ddbed2",
"pubkey": "5cf7f55d7d3955906288adf648774f6456ca2ef8e2248cfb05cbc86b5715bbd0",
"created_at": 1691767588,
"kind": 1,
"tags": [
[
"t",
"javascript"
],
[
"t",
"css"
],
[
"t",
"webdev"
],
[
"proxy",
"https://ruby.social/users/adam/statuses/110871680696220501",
"activitypub"
]
],
"content": "I spent a few hours e yesterday attempting to speed up Hardcover by changing FontAwesome to straight SVGs.\n\nMy hypothesis was that it would speed up performance - and it did! …some. Loading solid, duo and regular icons took 50ms each \u0026 some bandwidth. Not loading the library cut it down to just bw.\n\nUnfortunately my Google Page Speed didn’t budge, and even went down 😭\n\nI’m at 54 performance in mobile, 75 in desktop now. Next step to try is inlining critical CSS.\n\n#JavaScript #css #WebDev\n\nhttps://cdn.masto.host/rubysocial/media_attachments/files/110/871/680/178/958/840/original/5babea3fa04df8bd.png\n\nhttps://cdn.masto.host/rubysocial/media_attachments/files/110/871/680/360/442/707/original/52818d83e067de99.png",
"sig": "cb1c937bb49e2e7d9b968e032e3d7a8a529bfe454a2f4365164f0a1fd4ec2802539c7e00d6fc9d45882ee6b58fe8ad6b36db23f3514e6ab21a3b400e591da5bd"
}