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

After changing these options, visit Settings → Permalinks → Save so WordPress refreshes rewrite rules. Keep FTP or cPanel access in case another plugin conflicts with .htaccess.

Settings

SettingTypeDefaultWhat it does
Leverage Browser CachingToggleOffSets long-lived cache headers for static assets
Enable Gzip CompressionToggleOffCompresses text responses for faster transfer
Enable keep-aliveToggleOffKeeps the connection open for multiple requests
Enable Cache-Control HeadersToggleOffAdds Cache-Control rules for browsers/CDNs

Safe, Balanced, and Aggressive presets turn all four on.

Hosts without .htaccess

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 — avoid conflicting duplicates.

Legacy URL

Older docs used /Features/htaccess. That content now lives here.

What's Next