Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:cache:lscwp:configuration:tuning [2017/11/20 19:37]
Lisa Clarke [Remove Google Fonts] Added Load Google Fonts Asynchronously
litespeed_wiki:cache:lscwp:configuration:tuning [2020/11/14 15:20] (current)
Lisa Clarke Redirect to new Documentation Site
Line 1: Line 1:
-====== LSCWP Configuration SettingsTuning ====== +~~REDIRECT>​https://docs.litespeedtech.com/lscache/lscwp/pageopt/~~
- +
-[[litespeed_wiki:​cache:​lscwp:​configuration:​optimize|Optimize]] and Tuning are two closely-related tabs. Generally-speaking,​ you will find the ON/OFF switches in Optimize, and the customizations that go along with these switches in Tuning. +
- +
-For a detailed explanation of what these tabs do, please see [[litespeed_wiki:​cache:​lscwp:​configuration:​minification|Optimization Through Minification and Combination]] +
- +
-**Please test these options thoroughly before enabling them on your production site!** +
- +
-{{:​litespeed_wiki:​cache:​lscwp:​lscwp-settings-tuning.png?​direct&​800|}} +
-===== Combined CSS Priority ===== +
-//off// +
- +
-Normally, combined CSS is loaded after external CSS filesThis is because combined local CSS is more likely to have customizations that need to be loaded after the base CSSEnable this option if you have reason to load combined CSS before other CSS files. +
-  +
-===== CSS Excludes ===== +
-//empty string// +
- +
-If you enabled minification,​ combination or push for CSS in the **Optimize** tab, you may exclude some CSS here. Use this space to list any CSS files (one per line) you would like excluded from the optimization functions. You may enter full URLs or a partial string. There'​s no need to use wildcards in partial strings. +
- +
-===== Combined JS Priority ===== +
-//off// +
- +
-Normally, combined JavaScript is loaded after external JavaScript files. Enable this option if you have reason to load combined JavaScript before other JS files. +
-  +
-===== JS Excludes ===== +
-//empty string// +
- +
-If you enabled minification,​ combination or push for javaScript in the **Optimize** tab, you may exclude some JS here. Use this space to list any JS files (one per line) you would like excluded from the optimization functions. You may enter full URLs or a partial string. There'​s no need to use wildcards in partial strings. +
- +
-===== Remove Query Strings ===== +
-//off// +
- +
-This setting strips the query string from static resources. Static resources with query strings may not be cached by browsers and proxy servers. Removing the strings allows them to be cached, which translates into a faster page load. +
- +
-===== Load Google Fonts Asynchronously ===== +
-//off// +
-You may not wish to enable asynchronous loading of //all// of your CSS, but you do want it for just the Google Fonts. If enabled, this option will allow you to load Google Fonts asynchronously without also loading the other CSS that way. Additionally,​ this option adds a preconnect to Google so that the fonts may be downloaded more quickly. +
- +
-===== Remove Google Fonts ===== +
-//off// +
- +
-This options removes all Google fonts from your site. Be sure to test this. Unless you have suitable replacement fonts stored locally, the style of your site could change dramatically. +
- +
-===== Critical CSS Rules ===== +
-//empty string// +
- +
-When **Load CSS Asynchronously** is enabled in the **Optimize** tab, you may wish to single out a few definitions that must be loaded first in order to properly style above-the-fold content. Enter those rules here in plain CSS, just as they appear in your stylesheet. +
- +
-===== JS Deferred Excludes ===== +
-//empty list// +
- +
-If **Load JS Deferred** is enabled in the **Optimize** tab, there may be some JavaScript files you do not want to be deferred. List them here, one per line. You may list the full URI or partial strings to be matched (no wildcards). +
- +
-===== Remove WordPress Emoji ===== +
-//off// +
- +
-If enabled, this setting removes the extra JavaScript file that is used to add support for emojis in older browsers. Visitors who use modern browsers that have their own native emoji support will not notice a difference.  +
- +
-===== URI Excludes ===== +
-//empty string// +
- +
-If there are pages you would like to exclude from optimization,​ you may list them here. You can use a full path, or a partial string. +
- +
-===== Role Excludes ===== +
-//​unchecked//​ +
- +
-There may be user roles that you wish to exclude from any sort of optimization. For example, if you are an admin, testing new functionality,​ you may want to exclude your ''​administrator''​ role from optimization until your testing is through.+
  • Admin
  • Last modified: 2017/11/20 19:37
  • by Lisa Clarke