Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
litespeed_wiki:cache:const.default.ini [2018/11/07 12:43]
Erwin Venekamp created
litespeed_wiki:cache:const.default.ini [2019/04/23 15:26]
Michael Alegre [const.default.ini]
Line 1: Line 1:
 ====== const.default.ini ====== ====== 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 ''​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.+As of ''​v3.3''​ of our [[litespeed_wiki:​cpanel:​whm-plugin-lscwp-management|WHM plugin]], hosting providers can use a custom ''​const.default.ini''​ file when enabling or mass enabling LSCWP by placing the file under the ''/​usr/​src/​litespeed-wp-plugin''​ directory. This file will then be used for all sites installing a new copy of LSCWP. 
 + 
 +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|Text or numeric value| 
 +|private_ttl|Default Private Cache TTL|Text or numeric value| 
 +|front_page_ttl|Default Front Page TTL|Text or numeric value| 
 +|feed_ttl|Default Feed TTL|Text or numeric value| 
 +|404_ttl|Default 404 Page TTL|Text or numeric value| 
 +|403_ttl|Default 403 Page TTL|Text or numeric value| 
 +|500_ttl|Default 500 Page TTL|Text or numeric value| 
 +|cache_priv|Cache Logged-in Users|True or false| 
 +|cache_commenter|Cache Commenters|True or false| 
 +|cache_rest|Cache REST API|True or false| 
 +|cache_page_login|Cache Login Page|True or false| 
 +|cache_favicon|Cache favicon.ico|True or false| 
 +|cache_resources|Cache PHP Resources|True or false| 
 +|mobileview_enabled|Cache Mobile|True or false| 
 +|mobileview_rules|List of Mobile User Agents|Text or numeric value| 
 +|litespeed-cache_uri_priv|Private Cached URIs|Text or numeric value| 
 +|litespeed-cache-drop_qs|Drop Query String|Text or numeric value| 
 +|purge_upgrade|Purge All On Upgrade|True or false| 
 +|timed_urls|Scheduled Purge URLs|Text or numeric value| 
 +|timed_urls_time|Scheduled Purge Time|Text or numeric value| 
 +|litespeed-forced_cache_uri|Force Cache URIs|Text or numeric value| 
 +|litespeed-excludes_uri|Do Not Cache URIs|Text or numeric value| 
 +|excludes_qs|Do Not Cache Query Strings|Text or numeric value| 
 +|excludes_cat|Do Not Cache Categories|Text or numeric value| 
 +|excludes_tag|Do Not Cache Tags|Text or numeric value| 
 +|nocache_cookies|Do Not Cache Cookies|Text or numeric value| 
 +|nocache_useragents|Do Not Cache User Agents|Text or numeric value| 
 +|css_minify|CSS Minify|True or false| 
 +|css_combine|CSS Combine|True or false| 
 +|css_http2|CSS HTTP/2 Push|True or false| 
 +|js_minify|JS Minify|True or false| 
 +|js_combine|JS Combine|True or false| 
 +|js_http2|JS HTTP/2 Push|True or false| 
 +|optimize_ttl|CSS/​JS Cache TTL|Text or numeric value| 
 +|html_minify|HTML Minify|True or false| 
 +|css_inline_minify|Inline CSS Minify|True or false| 
 +|js_inline_minify|Inline JS Minify|True or false| 
 +|optm_css_async|Load CSS Asynchronously|True or false| 
 +|optm_ccss_gen|Generate Critical CSS|True or false| 
 +|optm_ccss_async|Generate Critical CSS In Background|True or false| 
 +|litespeed-optm-ccss-separate_posttype|Separate CCSS Cache Post Types|Text or numeric value| 
 +|litespeed-optm-css-separate_uri|Separate CCSS Cache URIs|Text or numeric value| 
 +|optm_css_async_inline|Inline CSS Async Lib|True or false| 
 +|optm_js_defer|Load JS Deferred|True or false| 
 +|optm_exclude_jquery|Exclude JQuery|True or false| 
 +|litespeed-cache-dns_prefetch|DNS Prefetch|Text or numeric value| 
 +|optm_rm_comment|Remove Comments|True or false| 
 +|css_combined_priority|Combined CSS Priority|True or false| 
 +|css_exclude|CSS Excludes|Text or numeric value| 
 +|js_combined_priority|Combined JS Priority|True or false| 
 +|js_exclude|JS Excludes|Text or numeric value| 
 +|optm_max_size|Max Combined File Size|Text or numeric value| 
 +|optm_qs_rm|Remove Query Strings|True or false| 
 +|optm_ggfonts_async|Load Google Fonts Asynchronously|True or false| 
 +|optm_ggfonts_rm|Remove Google Fonts|True or false| 
 +|litespeed-optm-css|Critical CSS Rules|Text or numeric value| 
 +|litespeed-optm-js-defer-excludes|JS Deferred Excludes|Text or numeric value| 
 +|optm_emoji_rm|Remove WordPress Emoji|True or false| 
 +|litespeed-optm_excludes|URI Excludes|Text or numeric value| 
 +|media_img_lazy|Lazy Load Images|True or false| 
 +|litespeed-media-lazy-img-excludes|Lazy Load Image Excludes|Text or numeric value| 
 +|media_img_lazy_placeholder|Lazy Load Image Placeholder|Text or numeric value| 
 +|media_placeholder_resp|Responsive Placeholder|True or false| 
 +|media_placeholder_resp_color|Responsive Placeholder Background Color|Text or numeric value| 
 +|media_placeholder_resp_async|Generate Reponsive Placeholder In Background|True or false| 
 +|media_iframe_lazy|Lazy Load Iframes|True or false| 
 +|media_img_lazyjs_inline|Inline Lazy Load Images Library|True or false| 
 +|media_optm_auto|Optimize Automatically|True or false| 
 +|media_optm_cron|Optimization Cron|True or false| 
 +|media_optm_ori|Optimize Original Images|True or false| 
 +|media_rm_ori_bkup|Remove Original Backups|True or false| 
 +|media_optm_webp|Optimize WebP Versions|True or false| 
 +|media_optm_lossless|Optimize Losslessly|True or false| 
 +|media_optm_exif|Preserve EXIF data|True or false| 
 +|media_webp_replace|Image WebP Replacement|True or false| 
 +|litespeed-media-webp_attribute|WebP Attribute To Replace|Text or numeric value| 
 +|media_webp_replace_srcset|WebP For Extra srcset|True or false| 
 +|cdn|Enable CDN|True or false| 
 +|cdn_ori|Original URLs|Text or numeric value| 
 +|litespeed-cdn-ori_dir|Included Directories|Text or numeric value| 
 +|cdn_exclude|Exclude Path|Text or numeric value| 
 +|cdn_remote_jquery|Load JQuery Remotely|True or false| 
 +|cdn_cloudflare|Cloudflare API|True or false| 
 +|cdn_cloudflare_email|Email Address|Text or numeric value| 
 +|cdn_cloudflare_key|Global API Key|Text or numeric value| 
 +|cdn_cloudflare_name|Domain|Text or numeric value| 
 +|esi_enabled|Enable ESI|True or false| 
 +|esi_cached_admbar|Cache Admin Bar|True or false| 
 +|esi_cached_commform|Cache Comment Form|True or false| 
 +|cache_object|Object Cache|True or false| 
 +|cache_object_kind|Method|Text or numeric value| 
 +|cache_object_host|Host|Text or numeric value| 
 +|cache_object_port|Port|Text or numeric value| 
 +|cache_object_life|Default Object Lifetime|Text or numeric value| 
 +|cache_object_user|Username|Text or numeric value| 
 +|cache_object_pswd|Password|Text or numeric value| 
 +|litespeed-object_global_groups|Global Groups|Text or numeric value| 
 +|litespeed-object_non_persistent_groups|Do Not Cache Groups|Text or numeric value| 
 +|cache_object_persistent|Persistent Connection|True or false| 
 +|cache_object_admin|Cache Wp-Admin|True or false| 
 +|cache_object_transients|Store Transients|True or false| 
 +|cache_browser|Browser Cache|True or false| 
 +|cache_browser_ttl|Browser Cache TTL|Text or numeric value| 
 +|check_advancedcache|Check Advanced Cache|Text or numeric value| 
 +|login_cookie|Login Cookie|Text or numeric value| 
 +|litespeed-adv-purge_all_hooks|Purge All Hooks|Text or numeric value| 
 +|use_http_for_https_vary|Improve HTTP/HTTPS Compatibility|True or false| 
 +|instant_click|Instant Click|True or false| 
 +|debug_disable_all|Disable All Features|True or false| 
 +|debug|Debug Log|Text or numeric value| 
 +|admin_ips|Admin IPs|Text or numeric value| 
 +|debug_level|Debug Level|Text or numeric value| 
 +|log_file_size|Log File Size Limit|Text or numeric value| 
 +|heartbeat|Heartbeat|True or false| 
 +|debug_cookie|Log Cookies|True or false| 
 +|collaps_qs|Collapse Query Strings|True or false| 
 +|log_filters|Log Filters|True or false| 
 +|litespeed-log_ignore_filters|Exclude Filters|Text or numeric value| 
 +|litespeed-log_ignore_part_filters|Exclude Part Filters|Text or numeric value| 
 +|crawler_usleep|Delay|Text or numeric value| 
 +|crawler_run_duration|Run Duration|Text or numeric value| 
 +|crawler_run_interval|Interval Between Runs|Text or numeric value| 
 +|crawler_crawl_interval|Crawl Interval|Text or numeric value| 
 +|crawler_threads|Threads|Text or numeric value| 
 +|crawler_load_limit|Server Load Limit|Text or numeric value| 
 +|crawler_domain_ip|Site IP|Text or numeric value| 
 +|litespeed-crawler-as-uids|Role Simulation|Text or numeric value| 
 +|crawler_custom_sitemap|Custom Sitemap|Text or numeric value| 
 +|crawler_include_posts|Include Posts|True or false| 
 +|crawler_include_pages|Include Pages|True or false| 
 +|crawler_include_cats|Include Categories|True or false| 
 +|crawler_include_tags|Include Tags|True or false| 
 +|crawler_excludes_cpt|Exclude Custom Post Types|Text or numeric value| 
 +|crawler_order_links|Order links by|Text or numeric value|
  • Admin
  • Last modified: 2020/09/24 17:41
  • by Lisa Clarke