Page speed of 99, and that missing ‘1’ is optimising Google’s own analytics code!

Compare your tests as you’re improving and figure out your key metrics! Time to document load, start of rendering, final completed document etc.

Measuring is useless without a plan going in.

Loading jQuery the default and recommended ‘WordPress’ way blocks rendering. Tinker with loading jQuery async from the footer means rendering can continue while waiting on networking. We can still use the async attribute. (side note: HTTP/2 discussion in questions)

Telnet to a website and run HTTP commands directly. Great example of two roundtrips for any HTTP request.

Embed core styles in the main page to avoid subsequent requests on initial load. Load it a second time for browser caching too!

Question/Comment: Can also load above the fold styles in page and async the remaining styles.

Answer to my question: Http/2 solves async issues at a protocol level, but for now we need to understand HTTP/1 too for BC compat.

Plugin file: docblock annotations are used by the admin and the plugins site. Include useful, descriptive info in here as your users/developers will see it.

Two types of hooks: Actions are functions that run AT a specific event. Filters are associated with an action and used to change the code/output of that action. Remember to return values from your filters or your output will magically disappear – poof!

Be mindful of uninstall.php vs uninstall hooks. uninstall script runs before the hooks!

Demo on removing default widgets and branding from a wordpress installation via plugins.

developerjack

Add comment

You may also like

Surprise (or no surprise) – I’m in Seattle for #MSBuild this week! I’m also delighted to be part of a small Microsoft-invited group called TAG (Technical Advisory Group), composed of folks from around the world...

Hackathons are awesome! They’re great fun, welcome lots of amazing people through their doors and are a hub of creativity and ingenuity. That said, the word is overused and I can’t help but rant slightly on the matter...

I’ve been asked a lot about BuzzConf recently. There’s a lot of buzz, but what is it! The brain child of two arguably insane chaps Rick and Ben, it’s a future technology festival complete with camping, hacking...