Site Speed Accelerator

Technical Documentation

Ezoic’s Site Speed Accelerator instantly increases website speed, page load times, and PageSpeed Insights scores.

How do I start using the site speed accelerator?

Setting up the Site Speed Accelerator takes less than 5 minutes after integration.

  1. Create an Ezoic account
  2. Integrate with Ezoic
  3. Create a new version to preview and test
  4. Choose the “Recommended” settings
  5. Preview the versions (see how)
  6. Test the preview URL to see your score
  7. Activate version on your live website

If you want a detailed, step-by-step guide on how to implement Site Speed Accelerator, check out this blog post.

Is the Site Speed Accelerator just tricking Page Speed tools?

No. The Site Speed Accelerator provides proprietary script loading features that sync and load scripts according to a number of criteria we developed that function differently on every unique site. This means making the loading of these scripts faster, more efficient, and removes any disruption they may have on UX.

What is critical CSS?

This setting finds the CSS necessary to display the visible part of the page first when a visitor arrives at your site. It then pushes that CSS into the <head> tag.

This ensures that only the content that is needed to be seen immediately is available. The CSS for the entire page then loads after the primary content is viewable.

Does the site speed accelerator remove unused css?

Yes. Site Speed Accelerator analyzes live visitors and learns what CSS is and isn’t used on the site, then modifies the CSS files to remove the rules that are never used.  

This reduces the download size and improves the speed scores. 

There’s also an advanced feature to remove unused CSS by page.

Does the Site Speed Accelerator lazy load images & iFrames?

Yes. This feature parses the page to find images and Iframes that are below the fold and replaces them with code that doesn’t load the image immediately. 

Then when the user starts to scroll, it will load the images when they are just off the screen. This saves initial download time but still gives the user a good experience. 

Does the accelerator resize images?

Yes. This feature will minimize the size of the image you send the user. The resized image is then cached so subsequent requests for the same size won’t have to be processed.

To take full advantage of this feature:

  • Make sure your site is optimized for mobile and is sizing the images properly within the HTML/CSS 
  • Lazy Loading must be turned on

Do we serve images in next-gen formats?

Yes. If the browser supports the WebP image format, this feature will tell the image processor to return images in the Next-Gen format. 

The WebP format is smaller for the same quality as PNG or JPG for most images.

Note: The site also has to have Lazy Loading turned on for this to work.

Does the accelerator use an efficient static cache policy?

Yes. This feature updates the cache headers on static assets to tell the browser to cache them for 365 days, as Google recommends.

You can choose to apply to images, stylesheets, and/or scripts. Learn more about caching with the Accelerator.

Is Site Speed's caching compatible with WordPress plugins?

As of February 2020, these are the WordPress Caching Plugins that are explicitly compatible with Site Speed Accelerator:

  1. W3 Total Cache
  2. WP Super Cache
  3. WP Rocket Cache

*It’s important to know that while these plugins are compatible, they may slow a site down because of the hindrance of HTML caching. To avoid this, Ezoic recommends name server integration. Learn more about integrating via name servers here

As of February 2020, these are the known WordPress Caching Plugins that are incompatible with Site Speed Accelerator:

  1. Swift Performance Cache
  2. LiteSpeed Caching
  3. WP Fastest Cache
  4. AutOptimize Cache
  5. WP-Optimize
  6. SG Optimizer

What is pre-connecting origins?

This feature looks for other domains that you are connecting to for requesting assets and adds tags to tell the browser to pre-connect to those domains to make retrieving the assets faster. 

What is script delay?

This feature delays the loading and execution of certain JavaScripts until the content has loaded.

Does Ad Delay affect my earnings?

No. This feature delays the loading and execution of ad codes until the content has loaded.  

Ezoic’s machine learning system makes many decisions and one of them is weighing ad load time vs. revenue and user experience.  

The assumption that slower loading ads meaning less revenue is not correct; in some cases, giving the programmatic auction more time is more beneficial than displaying a lower-yielding ad more quickly.  These circumstances also differ by page, device, connection speed, country, user and more.

Does the accelerator reduce cpu intensive tasks?

Yes. This feature slows down CPU intensive tasks that publishers may have on their pages.  It may affect the timings of setInterval and setTimeout tasks in JavaScript.

Can I set custom URL rules for my site speed accelerator versions?

Yes. This is a feature for advanced publishers. They can make certain site speed features run ONLY on the provided URLs or exclude certain URLs from running. 

This should not be needed for most publishers. 

Note: It is recommended to contact the site speed team with any issues from specific files so Ezoic can attempt to fix it in a more intelligent way.