This is an old revision of the document!


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 '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 `;`

purge_upgrade = true

cache_priv = true

cache_commenter = true

cache_object_host = 'localhost'
cache_object_port = '11211'

cache_browser_ttl = 2592000

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
  • Admin
  • Last modified: 2018/11/07 16:32
  • by Erwin Venekamp