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
Last revision Both sides next revision
litespeed_wiki:cache:lscwp:configuration:optimize [2018/10/04 18:33]
Lisa Clarke [Generate Critical CSS in the Background] Added placeholders for Separate CCSS
litespeed_wiki:cache:lscwp:configuration:optimize [2020/05/04 13:40]
Shivam Saluja
Line 1: Line 1:
 ====== LiteSpeed Cache for WordPress Settings: Optimize ====== ====== LiteSpeed Cache for WordPress Settings: Optimize ======
 +**Please Note**: This wiki is valid for v2.9.x and below of the LiteSpeed Cache Plugin for WordPress. If you are using v3.0 or above, please see [[https://​docs.litespeedtech.com/​lscache/​lscwp/​overview/​|the new documentation]].
  
 Optimize and [[litespeed_wiki:​cache:​lscwp:​configuration:​tuning|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. Optimize and [[litespeed_wiki:​cache:​lscwp:​configuration:​tuning|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.
Line 7: Line 8:
 **Please test these options thoroughly before enabling them on your production site!** **Please test these options thoroughly before enabling them on your production site!**
  
-{{:​litespeed_wiki:​cache:​lscwp:​lscwp-settings-optimize.png?​direct&​800|}}+{{:​litespeed_wiki:​cache:​lscwp:​lscwp-settings-optimize.png?​nolink|}}
 ===== CSS Minify ===== ===== CSS Minify =====
 //OFF// //OFF//
Line 99: Line 100:
  
 ==== Separate CCSS Cache Post Types ==== ==== Separate CCSS Cache Post Types ====
-Coming soon.+By default, one set of Critical CSS is saved for each post type. That is, CCSS for Posts, CCSS for Pages, CCSS for Products (if you have a custom post type called "​Product"​). If you have a post type where every item within that post type has different formatting, then one set of Critical CSS will not due. Add that post type to the box, and Critical CSS will be generated for each item of that post type.  
 + 
 +For example, if every Page on the site has different formatting, enter ''​page''​ in the box. Separate critical CSS files will be stored for every Page on the site.
  
 ==== Separate CCSS Cache URIs ==== ==== Separate CCSS Cache URIs ====
-Coming soon.+If you have pages that don't follow the same formatting rules as the rest of their post type, you can list the URIs (or partial URIs) for those pages in this boxSeparate critical CSS files will be generated for paths containing these strings. The URIs will be compared to the ''​REQUEST_URI''​ server variable. For example, for ''/​mypath/​mypage?​aa=bb'',​ ''​mypage?​aa=''​ can be used here. 
 + 
 +To match the beginning, add ''​^''​ to the beginning of the item. To do an exact match, add ''​$''​ to the end of the URL. One per line. 
 ==== Inline CSS Async Lib ==== ==== Inline CSS Async Lib ====
 //ON// //ON//
  • Admin
  • Last modified: 2020/11/14 15:20
  • by Lisa Clarke