Detailed guides to painful problems, treatments & more

Schnell, schnell! Speed boosts for

 •  • by Paul Ingraham
Get posts in your inbox:
Weekly nuggets of pain science news and insight, usually 100-300 words, with the occasional longer post. The blog is the “director’s commentary” on the core content of a library of major articles and books about common painful problems and popular treatments. See the blog archives or updates for the whole site.

Website programming is never done: like painting a big bridge, as soon as you finish you go back to the other end and start over. I am perpetually catching up to new technologies. And so I’ve just been through another phase of boosting page speed, and is now getting an A+ for most pages, which is not easy to do. Some highlights…

Images and embedded YouTube videos now load lazily so readers don’t have to download every picture on every page they visit — just the ones they scroll down to. It’s a big thrill (I am easily amused) to feel free to use bigger, snazzier pictures, knowing that they will be downloaded only by the people who actually read that far — and not by the 90% who just scan the first screenful and then bounce away.

Related: YouTube videos have also been stopped from using trackers. And I’m gearing up to replace Google Analytics with Fathom (“Fast, simple and privacy-focused website analytics”) for the same reason.

The scripting that powers “popups” was simplified down to almost nothing,popupA “script” (Javascript) is a program that is delivered with the webpage that runs in your web browser and, ideally, adds features to the page (as efficiently as possible). This popup would not work without some code, but much less now than before — barely there. and several other lesser scripts were given a trim or just sent to the Great Script Graveyard.

Some huuuuge lists of updates have been exported to archives for that purpose rather than bloating the pages they’re on. For whatever it’s worth, there’s now also a dedicated page for the massive list of nearly 2000 updates I’ve logged since about 2016. That’s a lotta updates. average page speed 2018-2020

The “bad” old days weren’t really bad compared to many bloated modern websites. was pretty fast even when it was slow.

PainSci Member Login » Submit your email to unlock member content. If you can’t remember/access your registration email, please contact me. ~ Paul Ingraham, PainSci Publisher