# Browser Cache Headers for WordPress

> Let browsers and proxies cache pages for logged-out visitors, and optionally strip ?ver= from asset URLs. Part of Toggleworks, one plugin for the whole site.

TW-PRF-14 Performance


Let browsers and proxies cache pages for logged-out visitors, and optionally strip ?ver= from asset URLs.

[Get it from $26 a year](https://togglework.app/pricing/#plans) [Try it in the demo](https://togglework.app/demo/)

Browser Cache Headers

**Part number**
: TW-PRF-14
**Section**
: [Performance](https://togglework.app/features/performance/)
**Settings**
: 2 (1 on/off)
**Starts**
: Switched off
**In plans**
: Every plan

## Why it matters

Even with a server cache, visitors re-download each page when they come back. A short browser cache time lets repeat views and proxies reuse the page for logged-out visitors.

### What it does

- A Cache-Control max-age for pages, for logged-out visitors only.
- Never sent for logged-in users, previews, searches, 404s, password-protected posts, carts or checkouts.
- Optionally removes ?ver= from CSS and JavaScript URLs for old proxies.

![Browser Cache Headers settings screen in the Toggleworks WordPress plugin, showing Page max-age for logged-out visitors (seconds), Remove ?ver= from CSS and JavaScript URLs](https://togglework.app/wp-content/themes/toggleworks-site/assets/img/parts/performance-page-cache-headers.webp?v=1795524357)

The Browser Cache Headers screen in wp-admin, where you switch it on and change its settings.

## Set it up

1. Start with 300 seconds and raise it to an hour if content rarely changes.

## What you can set

Switch Browser Cache Headers on in Toggleworks → Performance, then adjust any of these. Each one starts with a default, so you can switch the part on first and fine-tune later.

- Page max-age for logged-out visitors (seconds)
- Remove ?ver= from CSS and JavaScript URLs

## Good to know

- Leave “Remove ?ver=” off unless you know you need it; visitors may get stale files after updates.

## One less plugin to install

Browser Cache Headers does a job people often install a separate plugin for:

- Page cachingOften done with WP Rocket

## Comes with 187 more parts

Browser Cache Headers is one part of Toggleworks, a single plugin for security, speed, SEO, backups, email and store tools. Switch on what your site needs; the rest stays off and loads nothing.

[All 18 Performance parts](https://togglework.app/features/performance/)

### People also look for it as

- cache-control
- browser cache
- max-age
- headers
- query strings
- ver
- page cache

## Often switched on with it

- [Page Cache](https://togglework.app/features/performance/page-cache/) — TW-PRF-13 · Serves pages to visitors as ready-made HTML files before WordPress even starts — typically 5–20× faster. Logged-in users, carts… · 6 settings
- [Security Headers](https://togglework.app/features/security/security-headers/) — TW-SEC-14 · Send HTTP security headers such as X-Frame-Options, Referrer-Policy, Permissions-Policy, HSTS and Content-Security-Policy. · 11 settings
- [Asset Manager](https://togglework.app/features/performance/asset-manager/) — TW-PRF-01 · See every CSS and JavaScript file a page loads and switch off the ones it does not need — on one page, everywhere, or everywhere… · Own screen in wp-admin
- [Bulk WebP Converter](https://togglework.app/features/performance/webp-converter/) — TW-PRF-18 · Convert your existing media library to WebP in the background and serve the smaller files automatically. Originals are kept, so… · 3 settings
- [CDN Rewrite](https://togglework.app/features/performance/cdn-rewrite/) — TW-PRF-02 · Serve images, CSS and JavaScript from a CDN or pull zone by rewriting their URLs on the front end. · 6 settings
- [Critical CSS](https://togglework.app/features/performance/critical-css/) — TW-PRF-03 · Inlines only the CSS needed for the top of each page and loads the rest without blocking — fixing the “eliminate render-blocking… · 5 settings

## Questions

**Is Browser Cache Headers included in every Toggleworks plan?**

Yes. Every plan includes all 188 parts, Browser Cache Headers among them. Plans differ only in how many sites you can use them on, and staging or local copies of a site don’t count.

**Does Browser Cache Headers slow my site down when it’s switched off?**

No. Every part starts switched off, and a part that is off loads none of its code. Switch on Browser Cache Headers only if your site needs it.

**What if a setting locks me out?**

Add `define( 'TOGGLEWORKS_SAFE_MODE', true );` to wp-config.php. It pauses every part until you remove the line, and Tools → Recent changes lets you undo a change.

**Can I try Browser Cache Headers before I buy?**

Yes. The [live demo](https://togglework.app/demo/) runs a WordPress site with Toggleworks in your browser, and every plan has a 14-day refund.

## Switch off the plugin pile.

All 188 parts, one license, updates and support. 14-day refund.

[Choose a plan](https://togglework.app/pricing/#plans) [Try the live demo](https://togglework.app/demo/)

---

Source: https://togglework.app/features/performance/page-cache-headers/
