Why speed settings break sites
Every WordPress speed plugin offers the same powerful switches: delay JavaScript, remove unused CSS, defer scripts, lazy-load images. Each can make a page much faster. Each can also stop a menu opening, a slider turning or a checkout loading, and the first person to notice is usually a customer. So agencies either switch the risky settings on blind, or leave them off and live with a slow site.
Keptstone takes the approach it uses for safe updates: nothing is switched on for visitors until it has been tried and shown to break nothing and make the site faster.
How a setting is tried, step by step
- A private preview. Keptstone sends a short-lived signed token with its own requests. The connector applies the candidate setting, plus the ones already kept, only to requests that carry the token, and tells caches not to keep that page. Visitors keep getting the site as it is.
- It must do something. The home page is loaded with and without the token. If the setting’s marks are not on the page without it, or not gone with it, there is nothing to gain and the trial ends.
- Pages still work. The site’s check pages must still answer and keep their content.
- Pages look the same. Screenshots of the home page on desktop and phone, and one more page, are compared with the same method as visual checks on updates. Parts that move on their own, such as sliders, are learned and left out. A difference must repeat on fresh pictures to count.
- No new errors. JavaScript errors the page did not have before turn the setting down.
- Scripts still start. Keptstone counts what the home page’s scripts set going (menu dropdowns, toggles, sticky headers, sliders, search boxes, entrance animations) with and without the setting. Fewer of any turns it down, and the reason names what was lost, for example the menu’s dropdowns going from 8 to 0.
- It is faster or lighter. Google’s PageSpeed lab test runs three times each way and the middle runs are compared. A setting whose largest paint comes much later is turned down even if its score improved, but only if a second test agrees.
- Kept. Visitors get it within 15 minutes. Turn off takes it back out the same way.
A trial that fails says why, in words, on the site’s Speed tab.
What the settings cover
The settings, grouped by area:
| Area | Settings |
|---|---|
| Images | WebP copies for media library images; WebP for background images; missing width and height added; the largest image loaded first; click-to-play covers for YouTube and Vimeo embeds; background videos wait |
| Fonts | Google Fonts hosted on the site; font files preloaded |
| Scripts | Defer scripts; outside trackers and widgets wait for the visitor; all scripts wait; icon packs after the page; WooCommerce files only on shop pages; cart refresh only with a cart; WordPress’s emoji scripts removed |
| CSS and first screen | First screen CSS first; the first screen ready on arrival |
| Caching | A page cache that works with the host’s cache; a persistent object cache where Memcached is available; cacheable pages (cookies that stop caching); the next page fetched before the click |
| Server and database | Settings loaded only when asked (autoload); faster meta lookups; fast search; products found by SKU; fast 404s; a slower heartbeat in wp-admin; scheduled tasks on a timer |
| Moving over | Take over from WP Rocket |
Not every setting suits every site. The point of the trial is that you do not have to know in advance.
Which settings to try first
The Speed tab recommends up to six settings for each site, from what the site’s own measurements show:
- Real visitors’ first byte over 0.8 seconds on phones points to the page cache and object cache.
- A layout shift above 0.1 on phones points to image sizes.
- A largest paint above 2.5 seconds on phones points to the first-screen and image settings.
- Heavy autoloaded options point to the autoload setting; many full 404 pages point to fast 404s.
Try these queues them one after another. On the Speed page, Optimize all sites does the same across the agency, with trials on one server spaced 30 minutes apart so the host’s bot protection never sees a burst. For the background on these numbers, see Core Web Vitals and Largest Contentful Paint.
After a setting is kept
Real visitors are measured. A tiny script reads Largest Contentful Paint, Cumulative Layout Shift, Interaction to Next Paint and Time to First Byte on a sample of page views and sends them to the site itself: no cookies, no address, no visitor id. The Speed tab shows the 75th percentile of the last 28 days, rated by Google’s thresholds.
Server settings are watched. Settings that change what the server does, such as the page cache, the object cache and fast 404s, go live and are watched on real requests for three days. One is kept only if its measure improved enough, for example 30% fewer full 404 pages; otherwise it is switched off with “nothing to gain measured”.
Updates are checked for speed. After updates, each site’s server timings are compared with the days before. An update that makes wp-admin or visitor pages much slower sends an alert naming the day’s updates.
What the agency and the client see
The agency sees each site’s Speed tab (what is on, waiting, turned down and why, with the measurements) and the Speed page, one line per site, slowest first. The client sees the speed settings kept on their site and Google’s phone and computer scores on the Site care page in their WordPress. The monthly report can carry a speed section with Core Web Vitals, which the agency adds when it wants it.
Its limits
- Keptstone’s browser must reach the site. Sites behind host firewalls in check-in mode are mostly not tried yet.
- Lab tests vary. Google’s runs differ from one to the next, which is why medians and second tests are used, and why a setting can be turned down on one day and pass later.
- Daily allowances. Each agency has a daily number of trials, tied to its sites on this plan.
- Settings do not fix slow hosting. A server that takes two seconds to build any page needs a cache, a better plan or a different host; the Speed tab shows which.
Which plan it is in
The speed optimizer is on Care + Protect + Speed, $4 a site a month, with the firewall and malware scans. Real-visitor measurement and weekly PageSpeed tests are in both plans. For the wider approach, read WordPress speed optimization, or how to speed up WordPress by hand. See pricing.
Questions
Do I still need a speed plugin like WP Rocket?
Not for the work Keptstone's settings cover: page caching, deferring and delaying scripts, critical CSS, WebP images, font preloading and more. Where the host has its own page cache, Keptstone can try the site without WP Rocket, with the settings it already kept, and switch WP Rocket off only if pages look the same and are no slower. You can also keep your plugin.
What if a setting breaks something after it is kept?
Turn it off on the site's Speed tab and visitors lose it within 15 minutes, at the next heartbeat. Settings that change what the server does, such as the page cache, are watched on real visitors for three days and switched off by themselves if the numbers did not improve.
Does the optimizer work on sites behind SiteGround?
Only partly so far. A trial needs Keptstone's browser to load the site about 15 times per setting, and SiteGround's bot protection counts those requests. Sites in check-in mode are being added slowly, a few settings at a time, while the host's reaction is watched.
How is "faster" decided?
Google's PageSpeed lab test loads the home page three times without the setting and three times with it, and the middle run of each is compared. Faster means the largest paint down by 10% and 200 ms, or blocking time down by 20% and 100 ms, with the score no more than 3 points lower.