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
| Option | What it does |
|---|---|
| Leverage Browser Caching | Sets long-lived cache headers for static assets |
| Enable Gzip Compression | Compresses text responses for faster transfer |
| Enable keep-alive | Keeps the connection open for multiple requests |
| Enable Cache-Control Headers | Adds 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.