Speed Up WordPress With Caching: A Practical Guide
How caching makes WordPress faster: page, browser, object and CDN caching explained, plugin options, server-level caching, what not to cache in stores…

Images are usually the heaviest part of a web page. Optimizing them is one of the fastest ways to improve loading speed, Core Web Vitals and mobile experience, often without any visible loss in quality.
Key takeaways
- Resize images to the size they are displayed, then compress.
- Serve modern formats such as WebP or AVIF.
- Lazy-load images below the fold, but not the main hero image.
- One image optimization plugin is enough.
| Type | What happens | Use for |
|---|---|---|
| Lossy | Removes some data; much smaller files | Photos, hero images |
| Lossless | Keeps all data; smaller savings | Logos, screenshots, graphics |
| Glossy / smart | Balanced compression | Most websites |
| Plugin | WebP/AVIF | Free tier | Highlight |
|---|---|---|---|
| ShortPixel | Yes | Limited monthly credits | Best compression options |
| Imagify | Yes | Limited | Very easy |
| Smush | WebP (Pro) | Yes | Lazy load built in |
| EWWW | Yes | Yes | Local compression |
| TinyPNG | WebP | Limited | Reliable quality |
Compress before uploading with tools like Squoosh or TinyPNG, especially for hero images and banners.
WordPress supports uploading WebP images natively. To convert existing JPEG/PNG images automatically, enable WebP (or AVIF) delivery in your image plugin, or use a CDN that converts images on the fly.
More in WordPress caching and speed.
| Use | Suggested width | Format |
|---|---|---|
| Full-width hero | 1600–1920 px | WebP/AVIF |
| Content image | 1000–1200 px | WebP |
| Product image | 1000–1500 px square | WebP |
| Thumbnail | 400–600 px | WebP |
| Logo / icons | Vector | SVG |
WordPress generates several sizes automatically; make sure your theme uses the right one through srcset.
If your main image is the LCP element: do not lazy-load it, add fetchpriority="high", serve it in WebP or AVIF at the right size, and preload it if it is a CSS background. These changes often move LCP from "needs improvement" to "good."
Write alt text that describes the image's purpose, not just "image." Use descriptive file names before uploading, add captions where they help understanding, and include important images in your XML sitemap if your SEO plugin supports it.
Smart or glossy compression is usually invisible to visitors while cutting file size significantly.
Yes. Most plugins can bulk-optimize your existing media library.
Yes for most sites. A CDN serves images from servers close to visitors and can convert formats on the fly.

How caching makes WordPress faster: page, browser, object and CDN caching explained, plugin options, server-level caching, what not to cache in stores…

How to speed up a website: Core Web Vitals, image optimization, caching, CDN, hosting, JavaScript and CSS, fonts, database tuning and a step-by-step a…

How to optimize WordPress for mobile: responsive themes, mobile speed plugins compared, testing tools, practical speed steps, mobile UX, compatibility…
Sakr Web builds and grows websites, stores and apps: design, speed, security, SEO and ads.
Website, store, app, SEO or marketing: a free plan and quote within 24 hours.