Differences

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

Link to this comparison view

Next revision
Previous revision
litespeed_wiki:cache:lscwp:configuration:minification [2017/09/14 15:23]
Lisa Clarke created
litespeed_wiki:cache:lscwp:configuration:minification [2017/09/22 14:25]
Lisa Clarke [Minify] Fixed typos and added nowiki to link.
Line 3: Line 3:
 You can further optimize your WordPress site through the use of minification,​ combination,​ and HTTP/2 push, available in LSCWP since v1.2.2. These options are all turned off by default because they may have unexpected results. ​ You can further optimize your WordPress site through the use of minification,​ combination,​ and HTTP/2 push, available in LSCWP since v1.2.2. These options are all turned off by default because they may have unexpected results. ​
  
-**Please test thoroughly before ​[[litespeed_wiki:​cache:​lscwp:​configuration#​Optimize|enabling minification or combination]] on your production site!**+**Please test thoroughly before enabling minification or combination on your production site!**
  
 There are 3 ways the settings on this tab 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). ​ There are 3 ways the settings on this tab 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). ​
 +
 +(See [[litespeed_wiki:​cache:​lscwp:​configuration#​Optimize|LSCWP Configuration]] for instructions on enabling these features.)
  
 ===== Minify ===== ===== Minify =====
Line 12: Line 14:
 Minified CSS and JS will be placed in the code with a line that looks similar to: Minified CSS and JS will be placed in the code with a line that looks similar to:
   ''<​script data-minified='​1'​ src='​http://​yoursite.com/​min/​3fb36.js'></​script>''​. ​   ''<​script data-minified='​1'​ src='​http://​yoursite.com/​min/​3fb36.js'></​script>''​. ​
-Please be aware, if you do not have pretty permalinks enabled (i.e., ​you site has URLs that look like ''​http://​yoursite.com/?​p=123''​ then your minified code will have a ''?''​ in the URL like so: +Please be aware, if you do not have pretty permalinks enabled (i.e., ​your site has URLs that look like ''​<​nowiki>​http://​yoursite.com/?​p=123</​nowiki>​''​then your minified code will have a ''?''​ in the URL like so: 
   ''<​script data-minified='​1'​ src='​http://​yoursite.com/?/​min/​3fb36.js'></​script>''​   ''<​script data-minified='​1'​ src='​http://​yoursite.com/?/​min/​3fb36.js'></​script>''​
  
Line 24: Line 26:
 ===== HTTP/2 Push ===== ===== HTTP/2 Push =====
 HTTP/2 Push  is a way of sending resources to the browser before the browser asks for them. It increases the speed of your site by reducing the number of requests necessary. HTTP/2 Push  is a way of sending resources to the browser before the browser asks for them. It increases the speed of your site by reducing the number of requests necessary.
- 
-See [[litespeed_wiki:​cache:​lscwp:​configuration#​Optimize|LSCWP Configuration]] for explanations of the settings on the Optimize tab. 
- 
  • Admin
  • Last modified: 2017/09/22 14:25
  • by Lisa Clarke