You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the entire cache is cleared when
user_register - don't know why
edit_user_profile_update - why should it clear all and not it's own profile page cache
delete_user - makes sense if there is a link to the profile
and add some third parties: to clear entire cache:
autoptimize_action_cachepurged when needed:
woocommerce_product_set_stock
woocommerce_variation_set_stock
woocommerce_product_set_stock_status
woocommerce_variation_set_stock_status
The text was updated successfully, but these errors were encountered:
edit_user_profile_update - why should it clear all and not it's own profile page cache
User names are potentially displayed on very post, page or comment as author reference. Collecting all affected pages, including archives, summaries, widgets, etc. seems overdone.
* flush cache when comment is in database and not before
* flush when comment is or was approved
* move comment hooks to comment 'flush hooks'
* rename functions for better code comprehension
* removes user_register and edit_user_profile_update from flush total cache
Right now the entire cache is cleared when
user_register - don't know why
edit_user_profile_update - why should it clear all and not it's own profile page cache
delete_user - makes sense if there is a link to the profile
and add some third parties:
to clear entire cache:
autoptimize_action_cachepurged
when needed:
woocommerce_product_set_stock
woocommerce_variation_set_stock
woocommerce_product_set_stock_status
woocommerce_variation_set_stock_status
The text was updated successfully, but these errors were encountered: