Cache mode
On this page
Combine active snippets into a single cached file per page for better performance. Pro feature.
How it works
When cache mode is enabled, the plugin combines the active snippets for each URL and position into cached files. Subsequent page loads serve the cached file instead of regenerating the output.
Settings
| Setting | Options |
|---|---|
| Cache mode | On / Off |
| Cache Optimized Loading | No / CSS and JavaScript / CSS only / JavaScript only |
| Cache type | CSS and JavaScript / CSS only / JavaScript only |
| Cache method | File / Inline |
- File — separate cache files for CSS and JS.
- Inline — combine all codes into inline HTML.
Each device keeps its own cached copy, so role- and device-specific snippets are served correctly.
Clearing the cache
Clear the cache from the settings screen or the admin bar whenever you make changes the site should see.
Related
- Cache settings — configure cache mode.
- Code minification — minify cached output.
- Device support — per-device caching.