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:advanced [2018/03/29 20:11]
Lisa Clarke Adjusted title
litespeed_wiki:cache:lscwp:configuration:advanced [2019/04/12 18:39]
Lisa Clarke [LiteSpeed Cache for WordPress Settings: Advanced]
Line 1: Line 1:
 ====== LiteSpeed Cache for WordPress Settings: Advanced ====== ====== LiteSpeed Cache for WordPress Settings: Advanced ======
  
-{{:​litespeed_wiki:​cache:​lscwp:​lscwp-settings-advanced.png?​direct&​800|}}+{{:​litespeed_wiki:​cache:​lscwp:​lscwp-settings-advanced.png?​nolink|}}
  
 ===== Object Cache ===== ===== Object Cache =====
Line 91: Line 91:
 The amount of time, in seconds, that files will be stored in the browser cache before expiring. Minimum is 30 seconds. Recommended value is 2592000 (which is 30 days). The amount of time, in seconds, that files will be stored in the browser cache before expiring. Minimum is 30 seconds. Recommended value is 2592000 (which is 30 days).
  
-===== Check advanced-cache.php ​=====+===== Check Advanced Cache =====
 //on// //on//
  
Line 104: Line 104:
  
 An example login cookie is _wp_login_1 An example login cookie is _wp_login_1
 +
 +===== Purge All Hooks =====
 +//a list of recommended hooks//
 +
 +LSCWP executes a "Purge All" action on the cache when certain WordPress hooks are run.  You can change the purge behavior for your LSCWP installation by changing these hooks. For example, if you don't want to purge the cache every time you create a new tag or category, remove the ''​create_term''​ hook from the list. Or, if you do want to purge the cache every time a comment is posted on your site, you could add the ''​comment_post''​ hook.
 +
 +LiteSpeed recommends you Purge All when the following hooks are run:
 +<​code>​
 +switch_theme
 +wp_create_nav_menu
 +wp_update_nav_menu
 +wp_delete_nav_menu
 +create_term
 +edit_terms
 +delete_term
 +add_link
 +edit_link
 +delete_link
 +</​code>​
 +
 +See [[https://​developer.wordpress.org/​reference/​hooks/​|the WordPress Code Reference]] for a list of available hooks. Many plugins also have their own hooks that you can reference, as well.
  
 ===== Improve HTTP/HTTPS Compatibility ===== ===== Improve HTTP/HTTPS Compatibility =====
  • Admin
  • Last modified: 2020/11/14 15:22
  • by Lisa Clarke