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
Next revision Both sides next revision
litespeed_wiki:cache:lscwp:configuration:optimize [2018/09/24 20:11]
Lisa Clarke Updated for 2.6
litespeed_wiki:cache:lscwp:configuration:optimize [2018/11/27 20:23]
Lisa Clarke Brought up to date w/v2.7.3
Line 7: Line 7:
 **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?​direct&​802|}}
 ===== CSS Minify ===== ===== CSS Minify =====
 //OFF// //OFF//
Line 97: Line 97:
  
 If **Generate Critical CSS in the Background** is set to ''​OFF'',​ then the critical CSS is generated in the foreground, immediately when the page is requested. This means that the visitor must wait for the critical CSS calculation before continuing to view the page. This has the potential to slow down page load. If **Generate Critical CSS in the Background** is set to ''​OFF'',​ then the critical CSS is generated in the foreground, immediately when the page is requested. This means that the visitor must wait for the critical CSS calculation before continuing to view the page. This has the potential to slow down page load.
 +
 +==== Separate CCSS Cache Post Types ====
 +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 ====
 +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 box. Separate 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 ====
  • Admin
  • Last modified: 2020/11/14 15:20
  • by Lisa Clarke