Core Web Vitals & Performance

Fix Browser Caching & Leverage Expires Headers for WordPress

PageSpeed often flags “leverage browser caching.” Fix it with correct Expires and Cache-Control rules for static assets — without breaking dynamic admin pages.

What to cache (and what not to)

Cache images, CSS, JS, fonts, and PDFs for weeks or months. Keep HTML and authenticated admin responses short-lived unless you run a dedicated page cache.

Generate Apache rules

Use the free .htaccess builder, enable Browser caching, copy rules below the WordPress block in .htaccess, and verify with response headers.

Open .htaccess Rule Generator

FAQ

Will long cache times break updates?

Versioned assets usually bust cache. Do not aggressively cache HTML without a page-cache strategy.

Solve it automatically

Free .htaccess builder

Full CWV audit

Technical SEO & CWV service