ShortPixel Image Optimizer is able to create and serve AVIF files since version 4.22. The delivery can be done in two different ways: using the <PICTURE> tag syntax or without altering the page code (via .htaccess).
The recommended method is via .htaccess, but it’s only available if you are using Apache as web server. If you are using NGINX, and if you are having trouble after creating AVIF files on your site and the supporting browsers are downloading the images instead of displaying them, you have come to the the right place. Continue reading How to configure your web server to deliver AVIF images
We previously talked about what Preconnect is and why you should implement it on your website. In this occasion we will talk about DNS Prefetch, a similar technique.
What is DNS Prefetch?
You probably know that domains exist just so we don’t have to remember the IPs of the servers of every website. Resolving a domain to an IP address is a process that takes some time, usually around 20-120ms, and that is done for every external domain that your website includes. Wouldn’t it be nice if these connections were made in the background while your page is loading, so when the actual resources need to be downloaded it all would take less time? That’s what DNS Prefetch does. Continue reading What is DNS Prefetch and why you should implement it on your website
We have already written about how important are WebP images, and how the new AVIF format file is going to be better than WebP. But the most important question remains: how do I add AVIF images to my site? How do I add WebP images to my site?
The answer is ShortPixel.
How to serve WebP or AVIF from WordPress
If you have a WordPress site, and you probably do as more than 40% of all websites use WordPress, you have multiple ways to serve WebP or AVIF files. Continue reading How to add AVIF and WebP images to your site
When it comes to WordPress Speed Optimization, there are many techniques used to improve many aspects of a website. However, one usually hits a wall when external resources appear.
External resources are difficult to optimize. Period. By definition (“external”) they are not something you are supposed to optimize. We are talking about files that are loading from other places that are not your web server: Continue reading How to optimize your external resources in WordPress