Post ANGgIiA1cPhtmpBEye by chris@mastodon.chriswiegman.com
 (DIR) More posts by chris@mastodon.chriswiegman.com
 (DIR) Post #ANGdnIJPTPfgjVSfnE by kev@fosstodon.org
       2022-09-05T22:02:15Z
       
       1 likes, 1 repeats
       
       My #WordPress optimisation continues. I’ve now got my site down to 2 requests (the page and the favicon) and 49.3kb. Oh, and straight 100s on web.dev.I think that’s pretty darn good for WordPress and I’ll call it quits there. 🙃But WordPress is bloated, right? 🤷‍♂️https//kevquirk.com#moa
       
 (DIR) Post #ANGen1LsdAaG5P3BSq by pimoore@social.lol
       2022-09-05T22:13:24Z
       
       0 likes, 0 repeats
       
       @kev Holy shit dude, that’s insane!
       
 (DIR) Post #ANGeoLn08907lGN07c by potato_lisper@mk.nixnet.social
       2022-09-05T22:03:51.767Z
       
       0 likes, 0 repeats
       
       @kev@fosstodon.org you used hardcoded theme or the shiny new Full Site Editing?
       
 (DIR) Post #ANGeoMEIUepr7v8nfU by kev@fosstodon.org
       2022-09-05T22:13:35Z
       
       0 likes, 0 repeats
       
       @potato_lisper same theme - GeneratePress with a child theme.
       
 (DIR) Post #ANGevvsEMsRxhaQoWe by g@nerdculture.de
       2022-09-05T22:14:51Z
       
       0 likes, 0 repeats
       
       @kev and fully loading your homepage takes less than 1 second in both the UK (https://www.webpagetest.org/result/220905_AiDc0Y_DXH/) and Canada (https://www.webpagetest.org/result/220905_AiDcXS_DXJ/). While Australia does take a little bit longer (1.5 seconds - https://www.webpagetest.org/result/220905_AiDcTC_DXW/), it would be hard to make it load very quickly.Congrats! I think you need to do a full write-up on what you've all done.
       
 (DIR) Post #ANGfFPCVYSqeA0CYCm by kev@fosstodon.org
       2022-09-05T22:18:29Z
       
       0 likes, 0 repeats
       
       @pimoore I think I’ve gone far enough down this rabbit hole now 😂
       
 (DIR) Post #ANGfLGiI1WxVZgrYdk by kev@fosstodon.org
       2022-09-05T22:19:38Z
       
       0 likes, 0 repeats
       
       @g thanks. I might do a full write up at some point. It would be a looooong post though as I’d like to talk about what led me to each step in the process.
       
 (DIR) Post #ANGfQU0Y1SU6FqtCRU by g@nerdculture.de
       2022-09-05T22:20:35Z
       
       0 likes, 0 repeats
       
       @kev long posts are good. It's always nice to know what other people are doing.
       
 (DIR) Post #ANGgIiA1cPhtmpBEye by chris@mastodon.chriswiegman.com
       2022-09-05T22:30:14Z
       
       0 likes, 0 repeats
       
       @kev @g Do you have the theme public anywhere? I would love to check that out.
       
 (DIR) Post #ANHIepmJm1O82c4FNo by kev@fosstodon.org
       2022-09-06T05:40:09Z
       
       0 likes, 0 repeats
       
       @chris @g I don’t, but it’s really nothing groundbreaking. Dequeued a load of stylesheets and scripts that I don’t need, then inlined the CSS.
       
 (DIR) Post #ANHKsfO1PHpxm2QVzk by antijingoist@hackers.town
       2022-09-05T23:14:41Z
       
       0 likes, 0 repeats
       
       @chris @kev @g TIL GeneratePress https://generatepress.comHonestly I think where WordPress gets bloated is in implementation and shiny stuff people demand. 😞
       
 (DIR) Post #ANHKsg2mxiRloTV4XQ by kev@fosstodon.org
       2022-09-06T06:04:59Z
       
       0 likes, 0 repeats
       
       @antijingoist I think it’s more because of admins who don’t actually know what they’re doing, so instead of adding a bit of PHP to add some functionality, they add a plugin. And another. And another. And another.All of a sudden they’re loading tonnes of CSS and JS on the front end, and their WP backend is like a sieve.@chris @g
       
 (DIR) Post #ANHL8sxugkhUWNwry4 by kev@fosstodon.org
       2022-09-06T06:07:55Z
       
       0 likes, 0 repeats
       
       @Jeff GeneratePress is pretty light out the box in my experience. Even before this, my site was only around 300kb. GP tends to dequeue anything you’re not using, so does load a tonne of fluff, unless you turn everything on of course.Ill start thinking about how best to write something up.@g
       
 (DIR) Post #ANHezn05Uk4UUxuCfo by tagomago@mastodon.social
       2022-09-06T09:50:03Z
       
       0 likes, 0 repeats
       
       @kev @Jeff @g Thanks, that'll be interesting.
       
 (DIR) Post #ANIA9BsLTaRypgFN9k by murtezayesil@fosstodon.org
       2022-09-06T15:39:29Z
       
       0 likes, 0 repeats
       
       There are ways to put favicon in HTML. I do this on my site.My favourite is using an emoji as favicon.@kev
       
 (DIR) Post #ANIB9kP3Cgqps7NFXE by murtezayesil@fosstodon.org
       2022-09-06T15:50:29Z
       
       0 likes, 0 repeats
       
       I use Publii and limits favicon to a png or ico file. I instead defined favicon inline so that I can use an emoji and there is no extra request for a single KB png image.@kev
       
 (DIR) Post #ANIVgFtldcRxu3WIHg by Albright@phpc.social
       2022-09-06T19:40:35Z
       
       0 likes, 0 repeats
       
       @kev Why inline things like CSS and your logo image which will be repeated on each page? Maybe you've maximized request speed for a single page, but subsequent page request responses will be larger than they need to be since clients will be re-downloading stuff they could have just retrieved from their cache. Is there a reason for that?
       
 (DIR) Post #ANIbQxcPv3VmafUii8 by kev@fosstodon.org
       2022-09-06T20:45:13Z
       
       0 likes, 0 repeats
       
       @Albright the amount of css is negligible in terms of the total page size. Removing unused CSS and reducing the number of requests made (thus removing render blocking requests) is a far superior solution (in my opinion) than having to rely on visitors local cache.
       
 (DIR) Post #ANIbVNg6yLGyZTKXVg by kev@fosstodon.org
       2022-09-06T20:46:03Z
       
       0 likes, 0 repeats
       
       @Albright my logo is an SVG, so that’s a few bytes of data.
       
 (DIR) Post #ANKEghPnzzn28r57Ro by murtezayesil@fosstodon.org
       2022-09-07T15:39:48Z
       
       0 likes, 0 repeats
       
       I defined favicon inline so that I can use an emoji. This helps avoiding another request for a single KB png image.@kev