This is an old revision of the document!


const.default.ini

The const.default.ini file contains the default configuration for LSCWP. It can be used, for example by hosting providers, to change the default settings for the plugin. The file is located in the /wp-content/litespeed-cache/data folder.

Changes to const.default.ini do not prevent users from changing their plugin settings.

This is the standard const.default.ini file, as shipped in LSCWP.

; This is the default LSCWP configuration file
; All keys and values please refer const.cls.php
; Here just list some examples
; Comments start with `;`

; OPID_PURGE_ON_UPGRADE
purge_upgrade = true

; OPID_CACHE_PRIV
cache_priv = true

; OPID_CACHE_COMMENTER
cache_commenter = true

; OPID_CACHE_OBJECT_HOST
cache_object_host = 'localhost'
; OPID_CACHE_OBJECT_PORT
cache_object_port = '11211'

; OPID_CACHE_BROWSER_TTL
cache_browser_ttl = 2592000

; OPID_PUBLIC_TTL
public_ttl = 604800
public_ttlDefault Public Cache TTL
private_ttlDefault Private Cache TTL
front_page_ttlDefault Front Page TTL
feed_ttlDefault Feed TTL
404_ttlDefault 404 Page TTL
403_ttlDefault 403 Page TTL
500_ttlDefault 500 Page TTL
cache_privCache Logged-in Users
cache_commenterCache Commenters
cache_restCache REST API
cache_page_loginCache Login Page
cache_faviconCache favicon.ico
cache_resourcesCache PHP Resources
mobileview_enabledCache Mobile
mobileview_rulesList of Mobile User Agents
litespeed-cache_uri_privPrivate Cached URIs
litespeed-cache-drop_qsDrop Query String
purge_upgradePurge All On Upgrade
timed_urlsScheduled Purge URLs
timed_urls_timeScheduled Purge Time
litespeed-forced_cache_uriForce Cache URIs
litespeed-excludes_uriDo Not Cache URIs
excludes_qsDo Not Cache Query Strings
excludes_catDo Not Cache Categories
excludes_tagDo Not Cache Tags
nocache_cookiesDo Not Cache Cookies
nocache_useragentsDo Not Cache User Agents
css_minifyCSS Minify
css_combineCSS Combine
css_http2CSS HTTP/2 Push
js_minifyJS Minify
js_combineJS Combine
js_http2JS HTTP/2 Push
optimize_ttlCSS/JS Cache TTL
html_minifyHTML Minify
css_inline_minifyInline CSS Minify
js_inline_minifyInline JS Minify
optm_css_asyncLoad CSS Asynchronously
optm_ccss_genGenerate Critical CSS
optm_ccss_asyncGenerate Critical CSS In Background
litespeed-optm-ccss-separate_posttypeSeparate CCSS Cache Post Types
litespeed-optm-css-separate_uriSeparate CCSS Cache URIs
optm_css_async_inlineInline CSS Async Lib
optm_js_deferLoad JS Deferred
optm_exclude_jqueryExclude JQuery
litespeed-cache-dns_prefetchDNS Prefetch
optm_rm_commentRemove Comments
css_combined_priorityCombined CSS Priority
css_excludeCSS Excludes
js_combined_priorityCombined JS Priority
js_excludeJS Excludes
optm_max_sizeMax Combined File Size
optm_qs_rmRemove Query Strings
optm_ggfonts_asyncLoad Google Fonts Asynchronously
optm_ggfonts_rmRemove Google Fonts
litespeed-optm-cssCritical CSS Rules
litespeed-optm-js-defer-excludesJS Deferred Excludes
optm_emoji_rmRemove WordPress Emoji
litespeed-optm_excludesURI Excludes
media_img_lazyLazy Load Images
litespeed-media-lazy-img-excludesLazy Load Image Excludes
media_img_lazy_placeholderLazy Load Image Placeholder
media_placeholder_respResponsive Placeholder
media_placeholder_resp_colorResponsive Placeholder Background Color
media_placeholder_resp_asyncGenerate Reponsive Placeholder In Background
media_iframe_lazyLazy Load Iframes
media_img_lazyjs_inlineInline Lazy Load Images Library
media_optm_autoOptimize Automatically
media_optm_cronOptimization Cron
media_optm_oriOptimize Original Images
media_rm_ori_bkupRemove Original Backups
media_optm_webpOptimize WebP Versions
media_optm_losslessOptimize Losslessly
media_optm_exifPreserve EXIF data
media_webp_replaceImage WebP Replacement
litespeed-media-webp_attributeWebP Attribute To Replace
media_webp_replace_srcsetWebP For Extra srcset
cdnEnable CDN
cdn_oriOriginal URLs
litespeed-cdn-ori_dirIncluded Directories
cdn_excludeExclude Path
cdn_remote_jqueryLoad JQuery Remotely
cdn_cloudflareCloudflare API
cdn_cloudflare_emailEmail Address
cdn_cloudflare_keyGlobal API Key
cdn_cloudflare_nameDomain
esi_enabledEnable ESI
esi_cached_admbarCache Admin Bar
esi_cached_commformCache Comment Form
cache_objectObject Cache
cache_object_kindMethod
cache_object_hostHost
cache_object_portPort
cache_object_lifeDefault Object Lifetime
cache_object_userUsername
cache_object_pswdPassword
litespeed-object_global_groupsGlobal Groups
litespeed-object_non_persistent_groupsDo Not Cache Groups
cache_object_persistentPersistent Connection
cache_object_adminCache Wp-Admin
cache_object_transientsStore Transients
cache_browserBrowser Cache
cache_browser_ttlBrowser Cache TTL
check_advancedcacheCheck Advanced Cache
login_cookieLogin Cookie
litespeed-adv-purge_all_hooksPurge All Hooks
use_http_for_https_varyImprove HTTP/HTTPS Compatibility
instant_clickInstant Click
debug_disable_allDisable All Features
debugDebug Log
admin_ipsAdmin IPs
debug_levelDebug Level
log_file_sizeLog File Size Limit
heartbeatHeartbeat
debug_cookieLog Cookies
collaps_qsCollapse Query Strings
log_filtersLog Filters
litespeed-log_ignore_filtersExclude Filters
litespeed-log_ignore_part_filtersExclude Part Filters
crawler_usleepDelay
crawler_run_durationRun Duration
crawler_run_intervalInterval Between Runs
crawler_crawl_intervalCrawl Interval
crawler_threadsThreads
crawler_load_limitServer Load Limit
crawler_domain_ipSite IP
litespeed-crawler-as-uidsRole Simulation
crawler_custom_sitemapCustom Sitemap
crawler_include_postsInclude Posts
crawler_include_pagesInclude Pages
crawler_include_catsInclude Categories
crawler_include_tagsInclude Tags
crawler_excludes_cptExclude Custom Post Types
crawler_order_linksOrder links by
  • Admin
  • Last modified: 2018/11/07 18:01
  • by Erwin Venekamp