[ad_1]
hello guys new to wordpress dev i wanted to know how to minimize imagie size without losing quality and what should i use to clear cache in order to speed up my website
[ad_2]Copyright © 2020 - 2022, Project DMC - WordPress Tutorials for Beginners- All Rights Reserved. Privacy Policy
Better images is my plugin of choice.
For cleaning site cache, light speed plugin has a built in tool
I used two: EWWW Image Optimizer and something that came with SiteGround, but for the more recent stuff I’ve been trying out an app instead: [RIOT](https://riot-optimizer.com/) It can do just as good of a job compressing or converting images to webp, and then you can just upload them to your site. That way you have to use one less plugin, which saves you some system resources.
For macOS there’s ImageOptim, but it might require more tweaking than RIOT to get similar results.
Im using litespeed cache at the minute, used it because server is litespeed
Optimizing images before uploading them to WordPress is always a good idea, if possible. But in addition to that, I like using ShortPixel. They have a few different plugins, which are all easy to use. ShortPixel Adaptive Images will optimize your images on their cloud services and deliver them through their CDN, which is great if you have an image-heavy website on an underpowered server/network. SPAI has the additional feature that it will size the image to the size it needs to be on the page, so you get the most optimal sizing regardless of the WordPress-generated thumbnails and other sizes.
Caching depends a lot on your hosting environment. SPAI (and other tools) will cache on their CDN, optionally including js and css files as well. Another CDN cache that works reasonably well is Cloudflare. I use Litespeed on most of my sites, and the Litespeed plugin helps maintain that cache locally.
* [Converter for Media](https://fr.wordpress.org/plugins/webp-converter-for-media/)
* [WP Rocket](https://wp-rocket.me/)
Webp Express – tried a bunch of solutions, this converts files on upload as well as whenever a page is viewed that’s using a non webp image. Webp express is simple and perfect to use imo.