Wordpress LScache Plugin: Purge when updating Widgets
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello, When updating widgtes in the new Block-based Widgets Editor, cache is not auto-purged (so you have to empty it manually if you want to see the changes in the frontend) How to configure to auto-purge cache when updating Widgets? Thanks please try add this to your themes functions.php function purge_widget_save( $array ) if (defined(LSCWP_V)) do_action( litespeed_purge_all ) return $array add_filter( widget_display_callback, purge_widget_save, 10, 1 ) It seems to work, thanks. but shouldnt it be something included by default within the normal behavior of the plugin? yeah , this should be addressed from plugins code , will advice our devs look into it. great
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference