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