Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:lisa-test [2017/09/14 13:17] Lisa Clarke [HTML Minify] |
litespeed_wiki:lisa-test [2017/09/14 15:25] (current) Lisa Clarke [Optimize] |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Optimize ===== | ===== Optimize ===== | ||
- | You can further optimize your WordPress site through the use of minification, combination, and HTTP/2 push. These options are all turned off by default because they may have unexpected results. | + | For a detailed explanation of what this tab does, 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!** | **Please test these options thoroughly before enabling them on your production site!** | ||
- | |||
- | There are 3 ways these settings can speed up your site. None of these methods should impact your code's ability to function (but like we said, it can be unpredictable, so please test): | ||
- | * **Minify** - Removes all unnecessary characters from the code. Reduces the amount of data that needs to be transferred. | ||
- | * **Combine** - Replaces multiple files with a single file that contains all of the same code that was in the separate ones. Reduces the number of requests made by the browser and potentially removes duplicate code. | ||
- | * **HTTP/2 Push** - Sends resources to the browser before it asks for them. Reduces the number of requests necessary. | ||
[insert screenshot] | [insert screenshot] | ||
Line 55: | Line 50: | ||
//604800// | //604800// | ||
- | The minified and combined files are cached. This setting specifies for how long. The minimum is 3600 seconds, but we recommend 604800. | + | The minified and combined files are cached. This setting specifies for how long. The minimum is 3600 seconds, but we recommend 604800. When a ''Purge All'' command is issued, the minified and combined CSS/JS are included in that purge. |
- | + | ||
- | Please be aware that when a ''Purge All'' command is issued, the minified and combined CSS/JS are included in that purge. | + | |
==== HTML Minify ==== | ==== HTML Minify ==== |