Pantheon Community

Google PageSpeed Insights

I know that there is much controversy around website speeds and how to best test them. Whether to use GTmetrix, Pingdom, etc. to measure page performace.

I personally have been struggling with a low speed score from Google, which I wouldn’t care too much about but our SEO and Paid agencies both report on these metrics when evaluating our site.

Google recommends things like “Leverage Browser cache”, “Gzip Compression”, not linking to third party scripts like Google Analytics and Facebook tracking pixel. All of which seem to not be possible on the Pantheon platform.

Here is a related article:

Note: Apparently, Pantheon doesn’t seem to care abount Google Page Speed.

I am interested to hear everyone’s thoughts on this.

I almost exclusively use Lighthouse and now.

My D7 site gets a 90 hosted on Pantheon and the 10% that is remaining is mostly eliminating render-blocking resources, which can be tough to fix. would probably improve my 90, but at this point I’m mostly working on D8 sites so haven’t put in the effort.

May I see which site you’re testing?

This is a good read regarding Pingdom and some other tools -

“Sites such as Pingdom and GTmetrix are the de facto when it comes to measuring a site’s performance and for the most part they’re excellent tools. However, some of their recommendations aren’t relevant in the era of HTTP/2.”

This has become a severe pain point for us with clients and search rank. Sites seems to load fast over the CDN, but page speed scores are generally horrific when the client is using a page builder and numerous plugins. Sure, that may not be best practice, but clients don’t care.

We need to run some sort of mass market caching tool which doesn’t require engineers optimizing technical elements for hours.

It’s frustrating because Pantheon is a far superior workflow and clients are starting to wonder if they should bail to inferior hosts. Furthermore, I’ve seen a massive dip in rank to most sites since the new year. I believe they are being hit by the algorithms for speed.

Has anyone figured out how to get a tool like WP Rocket to work properly on Pantheon? We are at the point of looking into other hosting, unfortunately.

1 Like

I noticed that Lighthouse has drastically reduced its scores even for some of the fastest sites I’ve ever built. Where they used to score 90, now they score 1/3 of that with no discernable change to the site itself. I think Google has changed how they calculate the scores, to be honest. And it stinks because the clients who know about these testing tools want answers I can’t give them.

For the external script things that Google recommends you make changes to, I feel your pain. I don’t know whether Google realizes that not every site is built using plain static HTML, lovingly hand-coded by artisans who do nothing but write the most basic of code. A ton of us use CMSes where it would be a real pain to fork them just to cater to the whims of a page speed score.

That said, I did get wind of a couple of plugins that are supposed to help with this. They’re pretty new and I didn’t have 100% success with them on my sites (which rely heavily on page builders) but they may work for yours. Here are the links to them: - Host Everything LocaL (HELL) does what it says on the tin: It grabs a copy of whatever external scripts it detects and drops it into a directory in your wp-content/uploads so it resides on your server. My problem with it was that it didn’t detect enough scripts, especially Google’s own bloated Analytics and GTM JS code. For that you’ll want a plugin called CAOS ( But HELL does have some pretty neat preload and prefetch options that may help you.

For fonts, try Optimize My Google Fonts ( Again, does what it says by hosting all web-based fonts locally. I couldn’t tell how much it was helping me but every site is different. If that doesn’t work, try Elegant Custom Fonts ( I’m using that on an Oxygen Builder site, by Oxygen’s recommendation.

In general, it feels like Pantheon’s slowing down a bit overall. I can’t get near the speeds I used to get from Pantheon in the past. It seems to have degraded since December for some reason. And especially if you’re using any kind of page builder or any plugin that defeats Varnish caching. I’ve been several rounds of this with Support at both Elegant Themes and Pantheon and each points to the other as the culprit. I’m hoping that theme builder vendors and Pantheon can work together more closely, with Pantheon providing some kind of developer testing account so that the incorrect assumptions the plugin/theme developers make about how “all hosts do things” can be mitigated. If Pantheon does something like that, I can only see faster, more secure plugins and themes in our future.

1 Like