Skip to main content

Browser Caching

What it does

Browser Caching (formerly labeled .htaccess Modifications) writes server rules so browsers reuse static files (images, CSS, JS) on repeat visits. This is different from Page Cache, which stores full HTML pages.

Where to find it

Divi Engine → Nitro Settings → Browser Caching (htaccess)

After changing these options, visit Settings → Permalinks → Save so WordPress refreshes rewrite rules.

Options

OptionWhat it does
Leverage Browser CachingSets long-lived cache headers for static assets
Enable Gzip CompressionCompresses text responses for faster transfer
Enable keep-aliveKeeps the connection open for multiple requests
Enable Cache-Control HeadersAdds Cache-Control rules for browsers/CDNs
note

These rules require an Apache-compatible host that allows .htaccess changes. On some hosts (including some LiteSpeed setups), similar headers may already be managed by the server or LiteSpeed Cache — avoid conflicting duplicates.

What's Next