LiteSpeed Cache for WordPress Settings: General

Enable/Disable/(Use Network Admin Setting)

This is the third and final level for enabling the caching functionality of the plugin. (If you have not completed the previous steps, please see here for instruction.) When enabled, the cache plugin will cache pages. Disabling will stop any caching from occurring and purge the cache of all WordPress cache entries.

For single site installations, only Enable and Disable are available. For Multisite Subsite admins, there is a third option, Use Network Admin Setting. This last option uses what the Network Admin chooses.

NOTE: If you are seeing a warning that LSCache is disabled, and you can't make it go away, please see our troubleshooting instructions.

604800

This TTL setting controls most of the pages. All the other TTLs are for specific pages/types of pages.

The default value amounts to 8 hours. Other possible values are 1 hour (3600), 1 day (86400), 1 week (604800), etc. Since most of these pages will not change once posted, a longer TTL may be beneficial.

1800

This TTL setting determines how long private pages are cached. Possible values are between 60 and 3600.

1800

This TTL setting controls the front page. Note that this can be triggered by the is_front_page() check or a third party plugin chose to use the front page TTL for the page (for example, the WooCommerce shop page).

The default value amounts to 30 minutes. The front page tends to be the most often updated page, but is also the page that most visitors will see. For these reasons, it may be more beneficial to use a short TTL. That said, if the site is not updated often, longer TTLs may be used.

0

This TTL setting controls the feeds. Feeds are a great way for readers to stay up to date on blog entries. They are generally set up to pull from the blog in intervals, which, without caching, could cause a constant load on the server. Cached feed pages are purged on update and on comment, so they are guaranteed to remain up to date. Possible values are 0 or more. 0 indicates do not cache, < 30 seconds will be set to 30.

3600

This TTL controls the pages that return 404. This may be random URLs visited or intentional 404s, but all pages returning a 404 status will use this value.

The default value is 3600, for one hour. There is no real recommended value for this TTL because it depends on what happens to the site. If visiting 404 pages is a common occurrence, it may help to cache the page for at least a short period. If 404 pages are intentional, it may help to cache the page for a longer period of time, because it is an expected visit. One matter of concern is disk size. Since 404 is for not found, there are an unlimited amount of pages that could be cached. This could be detrimental for the disk usage. Possible values are 0 or more. 0 indicates do not cache, < 30 seconds will be set to 30.

3600

This TTL controls the pages that return 403.

The default value is 3600, for one hour. Pages returning 403 are usually intentional, so it may be worth while to have a longer TTL for this setting. Possible values are 0 or more. 0 indicates do not cache, < 30 seconds will be set to 30.

3600

500 Errors are a more severe error. Caching this page may mask an issue within WordPress, so that may not be desired.

The default value is 3600, for one hour. Possible values are 0 or more. 0 indicates do not cache, < 30 seconds will be set to 30.

OFF

You can have this plugin upgrade automatically any time a new version is available. This saves you the effort of having to manually execute an update. If this option is enabled, your site will get LSCWP updates within a few hours of the new versions going live in the WordPress Plugin Directory. This delay is intentional, as it gives us time to make sure that there are no serious problems with the update.

Automatic Upgrade only works if you have WP-Cron enabled. (WP-Cron is enabled in WordPress by default, so if you don't know whether it's enabled on your site, it probably is.)

  • Admin
  • Last modified: 2019/04/12 18:06
  • by Lisa Clarke