Chapter 11. Settings Reference

Page Cache Tab

How finished pages are cached and served, which pages are not cached, and how other caches are kept in step.

JCH Optimize Page Cache

JCH Optimize's page cache. On Joomla, the page cache is the System - JCH Optimize Page Cache plugin: switch it on from the dashboard. See the section called “Step 7: Page Caching”.

Enable WordPress

Switches the page cache on.

Default: No
Page cache lifetime (WordPress: Cache lifetime)

How long a cached page is used before it is built again. Keep it shorter than Cache lifetime on the General tab.

Default: 15 mins
Browser caching

Lets browsers keep cached pages for the page cache lifetime, so returning visitors don't ask your server again. Visitors may then see changes only after the lifetime has passed.

Default: No
Risk: Medium
Platform specific Pro

Caches pages separately for phones and computers. Needed only if your site sends different HTML to phones; most modern templates don't.

Default: No
Risk: Low
Exclude form users

Doesn't serve cached pages to a visitor who has submitted a form, until the cache expires, so shopping carts and confirmation messages work. It sets a small cookie when a form is submitted.

An extension can serve the visitor cached pages again sooner, for example after they empty their cart; see the section called “Serving Form Users Cached Pages Again”Serving form users cached pages again.

Default: Yes
Risk: Low
Exclude urls

Pages whose address contains any of these entries are not cached. They are still optimized.

Default: Empty
Risk: Low
Exclude menu items Joomla

Menu items whose pages are not cached.

Default: Empty
Risk: Low
Exclude components Joomla

Components whose pages are not cached. com_ajax is excluded by default.

Default: com_ajax
Risk: Low
Ignore queries

Query string parameters that don't change the page, such as campaign tracking parameters (utm_source). Pages that differ only by these share one cached copy.

Default: Empty
Risk: Medium
Serve Cached Pages as Static Files Pro

Saves cached pages as plain files your web server sends directly, without starting your site. Apache rules are added to .htaccess automatically; on Nginx, use the JCH Optimize include. See the section called “Going Further: Serving Pages Without PHP”.

Cloudflare Cache Purge Integration Pro

Clears Cloudflare's cache whenever JCH Optimize clears its own. See the section called “Use JCH Optimize with Cloudflare”.

Enable Cloudflare Purge

Clears Cloudflare's cache whenever JCH Optimize clears its own.

API Bearer Token

A Cloudflare API token with permission to purge the cache of this site's zone. It is checked when you enter it.

Default: Empty
Zone ID

The Zone ID shown on your domain's overview page in Cloudflare.

Default: Empty
ModeSwitcher Integration (WordPress: Mode switcher integration)

Switches Cloudflare's Development Mode on and off with JCH Optimize's Mode Switcher. Cloudflare switches Development Mode off by itself after three hours.

Default: Yes

Mode Switcher Module Page Cache Integration

Joomla Which page cache plugin the dashboard and the Mode Switcher control. See the section called “Use a Different Page Cache Plugin”.

WordPress Whether the page cache goes off and on with the mode. See the section called “Pause JCH Optimize While You Work on Your Site”.

Integrated page cache Joomla Pro

The page cache plugin the dashboard and the Mode Switcher control: System - JCH Optimize Page Cache (the default), System - Page Cache, LiteSpeed Cache or Page Cache Extended. Plugins that aren't installed can't be selected.

Default: System - JCH Optimize Page Cache
Integrate mode switcher Joomla Pro

Switches the integrated page cache off in Development mode and on in Production mode.

Default: Yes
Integrate mode switcher WordPress

Switches the page cache off in Development mode and on in Production mode, whether you switch the mode with the Mode Switcher or with the dashboard's Optimization switch. Production mode switches the page cache on even if it was off before. Switch this setting off to switch the page cache and the mode separately, for example when another plugin caches your pages.