A little less than a year ago we introduced Accelerated Domains as add-on to any site hosted in the Servebolt Cloud. It’s been our most popular add-on to date as it does exactly what the name promises from the start. It accelerates your domain. Accelerated Domains will make your site faster, more scalable, greener, and more secure. That’s a lot of functionality right there, but that hasn’t stopped us from continuously improving its features of the last year. As promised.
Today, we’re happy to introduce a new feature for Accelerated Domains called Accelerated Domains Prefetching. This feature prefetches the assets of your site. All vastly improving your site’s performance.
Improving your site’s performance
All in all, your Accelerated Domains powered website will load pages much faster, and appear more snappier. For all visitors across the globe, of course.
How it works
The idea behind the prefetching feature is that Accelerated Domains Prefetching pre-populates the cache with content a site visitor is likely to request next. This guarantees a higher cache hit rate and thus a faster experience for the user.
Accelerated Domains Prefetching cleverly listens in during the loading of your front-page in WordPress. Based on what it finds it determines which assets should be preloaded. This is what the contents of the manifest-style.txt would look like if your site has the Twenty Twenty One theme activated, for instance:
/wp-includes/css/dist/block-library/style.min.css /wp-content/themes/twentytwentyone/style.css?ver=1.4 /wp-content/themes/twentytwentyone/assets/css/print.css?ver=1.4
If you’re not yet using Accelerated Domains for your site, now’s the time to upgrade your site to its fastest, greenest, most secure, and most scale version. Order or learn more in detail what Accelerated Domains can do for your site.
Servebolt Optimizer for WordPress 3.5 update
Update our Servebolt Optimizer for WordPress plugin to version 3.5 to integrate Accelerated Domains Prefetching to work. Version 3.5, which will be released today, also includes the following updates:
Automatic WordPress Cron setup
WordPress has a built-in cron system which takes care of various scheduled background tasks. It, for instance, checks periodically if there are updates available. Another feature is that also publishes posts that have been set with a future date at the time specified. Site visitors trigger WordPress’ cron, and as such, every single visit wastes resources. This affects the performance of your WordPress site, but it also is a limiting factor in scaling your site. Using up resources that you don’t have to waste simply doesn’t scale when traffic increases.
This is why we’re recommending you switching off WordPress’ cron and switching to the server cron. Doing this manually can be a bit daunting, so we’ve added a way to switch to the server cron automatically in the plugin.
Not only are we saving resources by switching to the server cron, the cron jobs will be executed more reliably. Further resources are saved as we’re adding flock to the automatically set up cron so we don’t run multiple crons at the same time.
Clear site cache upon logging in
When you’re logged into WordPress, your browser should serve you cached content and assets. We’ve included a new header tag that clears your browser’s cache when you log in. This ensures that you’re never looking at cached content when logged into WordPress. This feature is currently only supported by Chrome, Firefox and Edge and others.
Learn more about browser support for the clear-site-data feature.
WooCommerce Related Improvements
Version 3.5 improves how several things are handled in WooCommerce. Specifically the following scenarios:
- We’ve simplified the cache purge for a single product whenever a customer checks out in WooCommerce. We will now only be purging the product URL and not not the front page URL or any other related URLs.
- We now purge cache for a WooCommerce product immediately when a customer check-outs regardless of whether they have the queue based cache purge active or not. The main reason for this change is that stock levels are generally cached, and could become out of stock after the last item has been purchased.
We’ve added the option to turn off WooCommerce’s Action Scheduler queue runner. The implementation is based on code provided by WooCommerce themselves and saves wasting valuable resources. We also do our best at making sure they don’t run at the same time. Turning it off will disable the default runner and set up the runner using a cron (with flock) instead. This way we make sure both crons don’t run at the same time and make them independent of each other. You can find the setting for this in the Advanced tab inside the Performance menu of the plugin.
Check out the full changelog for more details on what version 3.5 of Servebolt Optimizer for WordPress offers.
My awesome colleagues are also ready to answer any questions you might have about Accelerated Domains, so please do not hesitate to get in touch.
We launched Accelerated Domains!
Accelerated Domains is a service that greatly improves and optimizes your site on these four areas: Performance, Scalability, Security, Carbon footprint.