Chapter 11. Settings Reference
Every setting on the settings page, tab by tab and section by section, with what it does, its default value, its risk label, and where to learn more.
The settings page is in the toolbar on Joomla, and the Configurations tab on WordPress. Both have the same tabs and sections. Where a label differs between the platforms, the WordPress label is shown in brackets. The risk labels are explained in the section called “Risk Labels”.
Tip
Many settings are lists. Click in the box to choose from what JCH Optimize found on your site, or type an entry and click . An entry matches anything that contains it, so part of an address is usually enough.
General Tab
Settings that apply everywhere: debugging, where the fold is, pages to leave alone, where the cache is kept, and how Recache crawls your site.
Miscellaneous Settings
General behavior of the plugin.
- Debug Plugin
-
Adds a comment with the address of each original file inside the optimized files, so you can trace a problem back to its source, and unlocks the configure helpers. With Debug System on in Joomla's Global Configuration, it also adds JCH Optimize's timings to the Joomla debug output. Switch it off when you finish configuring.
Default: NoLearn more: the section called “Step 0: Prepare” - Disable logged-in users (WordPress: Disable logged in users)
-
Doesn't optimize pages for logged-in users, so editors and page builders keep working normally. Remember to check your pages logged out, for example in a private window.
Default: YesLearn more: the section called “Before You Change Anything” - Download ID WordPress Pro
-
Your Download ID, needed for Pro updates and the Optimize Images service. See the section called “Entering Your Download ID”.
Default: Empty - Log level
-
Chooses how much JCH Optimize writes to its logs, which you read on the Logs page (WordPress: the Logs tab). Each choice includes the ones before it: Errors are things that failed, such as a page that couldn't be optimized; Warnings are problems JCH Optimize worked around, such as a page it couldn't save in the page cache or a page a crawl couldn't reach; Info adds what image optimization runs, AI optimization runs, recaches and page cache purges did; Debug adds every page crawled and every step, so use it only while you look into a problem, then set it back. Each log keeps up to 4 MB. Nothing turns logging off.
Default: Warnings
Elements above fold
Where the fold falls on your pages, counted in HTML elements from the top of the page. Used by Optimize CSS Delivery, Lazy Load, LCP Images and Reduce DOM. See the section called “Set the Number of Elements Above the Fold”.
- Home page
-
The number of HTML elements above the fold on your home page. Leave empty to use Default.
- Default
-
The number of HTML elements above the fold on every page that isn't the home page and isn't listed in Per page.
- Per page
-
A different number for particular pages. Add part of the page's address and its number.
- Above fold marker
-
Prints the estimated number of elements above the fold in the browser console, and lets you run
verifyElementMarkerOverlay()to see where the configured number falls. Shown only while Debug Plugin is on. Don't leave it on.Default: No
Cache Storage Pro
Where JCH Optimize keeps its cache. Files work everywhere; a memory store can be a little faster. See the section called “Store the Cache in Redis, Memcached or APCu”.
- Storage Adapter
-
Where the cache is kept: Filesystem (files, the default), APCu, Memcached, Redis or WinCache. Stores your server doesn't support can't be selected. If the chosen store fails, files are used.
Default: Filesystem - Memcached server host
-
The address of your Memcached server, for example
127.0.0.1.Default:127.0.0.1 - Memcached server port
-
The port of your Memcached server, usually
11211.Default:11211 - Redis server host/sock (WordPress: Redis server host)
-
The address of your Redis server, for example
127.0.0.1, or the path to its socket file.Default:127.0.0.1 - Redis server port
-
The port of your Redis server, usually
6379.Default:6379 - Redis server password
-
The Redis password, if your server has one.
Default: Empty - Redis database
-
The Redis database number to use.
Default:0 - Cache lifetime
-
How long optimized files are kept before they are rebuilt. If you use another page cache, set this longer than that cache's lifetime, so cached pages never point to deleted files.
Default: 15 mins - Delete expired cache WordPress
-
How often expired cache files are deleted to save disk space, with WP-Cron: Hourly, Twice Daily or Daily, or Disabled. If you use another page cache plugin, consider choosing Disabled, so pages it cached don't point to deleted files. On Joomla, this is set on the JCH Optimize - Delete expired cache scheduled task instead.
Default: Daily
Recache Settings Pro
How Recache crawls your site to fill the cache. Values given to a scheduled task or on the command line override these. See the section called “Keep the Page Cache Warm with Recache”.
- Base URL
-
The page the crawl starts from. By default, your home page; an HTML sitemap is a good alternative.
Default: Your home page - Crawl limit
-
The maximum number of pages visited.
Default:100 - Concurrency
-
How many pages are visited at the same time. Lower it on a small hosting plan.
Default:10 - Maximum depth
-
How many links deep the crawl follows from the starting page.
Default:3 - Delete cache WordPress
-
Deletes the existing cache before each crawl.
Default: Yes - Recache frequency WordPress
-
When Recache runs by itself, with WP-Cron: Disabled, On save only (after you save the settings), Hourly, Twice Daily or Daily.
Default: On save only
On This Page