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.
Default values
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
Available values
public_ttl | Default Public Cache TTL |
private_ttl | Default Private Cache TTL |
front_page_ttl | Default Front Page TTL |
feed_ttl | Default Feed TTL |
404_ttl | Default 404 Page TTL |
403_ttl | Default 403 Page TTL |
500_ttl | Default 500 Page TTL |
cache_priv | Cache Logged-in Users |
cache_commenter | Cache Commenters |
cache_rest | Cache REST API |
cache_page_login | Cache Login Page |
cache_favicon | Cache favicon.ico |
cache_resources | Cache PHP Resources |
mobileview_enabled | Cache Mobile |
mobileview_rules | List of Mobile User Agents |
litespeed-cache_uri_priv | Private Cached URIs |
litespeed-cache-drop_qs | Drop Query String |