Image Slider and Render-blocking JavaScript

by admin

slider

Google recommends to load the JavaScripts after html, css and images.

There are two ways to fix the Eliminate render-blocking JavaScript issue.

1. To add Defer attribute (I do NOT recommend)
2. To move the JS sources to the bottom of the page

WP Fastest Cache Premium uses the second solution.

Image Slider

As I said above that the JS sources are loaded at the bottom of the page if you use the premium version of WP Fastest Cache.

images-loaded-firebug

If you use a image slider, the slider loads the images after page loaded.

In the conclusion, if you use a image slider, you cannot fix the Render-blocking JavaScript warning.

Related articles

Placeholder Image
Redirection to /wp-content/cache/all/index.html Problem

If there is a 301 redirection rule in htaccess, apache may redirect the url to http://yourdomain.com/wp-content/cache/all/index.html.

Clear Cache for Specific Page
Clear Cache for Specific Page

We occasionally need to clear a page’s cache, but clearing the entire cache is not good for CPU. For this…

How is an image served as WebP?
How is an image served as WebP?

WebP is an image format developed by Google. The premium version of WP Fastest Cache optimizes the images as well…

Ready to get started?

Purchase your first license and see why 1,500,000+ websites globally around the world trust us.