cachify icon indicating copy to clipboard operation
cachify copied to clipboard

Flush cache overwork

Open timse201 opened this issue 4 years ago • 1 comments

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

timse201 avatar Apr 15 '21 17:04 timse201

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.

stklcode avatar Apr 15 '21 18:04 stklcode