What would be useful? At the moment at my dayjob I’m focussing on a couple of WordPress websites. These things have to be built. But when they release it’s nice to keep track. The problem is that I don’t have the time to go login and look at those websites all the time.
Google Pagespeed is an awesome tool to check how fast your website is.. But pasting the url in every time is so damn inconvenient. The first version of my plugin WP Auditor is one way of fixing this. It only adds a “pagespeed” link to the post and page list in the WP Admin. Better, but not quite good enough. I want to have a nice overview of things. And I want to know when things take a dive (or go up) speed wise.
They have an API as well..
Tinkering a bit with the Pagespeed API confirmed my suspicions. You can totally automate this. Having the task-manager in place (this is the part that schedules all the nice features and checks) it was just a case of wrapping it in code, fetch the output, create a snapshot (gathered and structured information to be presented on the WP Audit Dashboard) and boom!
But the Pagespeed API takes some time to load. Not strange since it is performing real time checks on the supplied URL. This is the reason that the check is done only twice a week at this moment.
Having this data available now opens up a new realm of possibilities. For instance it’s possible to create a graph for a report so you can see what the page speed was last week or (if you leave it running long enough) even last year compared to this year. I’m looking forward to play around with this.
So there it is, automated Google Pagespeed (Lighthouse) data. The way they should have done it to make it more useful (in my humble opinion).