When enabled, the cache will automatically purge when any plugin, theme or the WordPress core is upgraded.
- Click on litespeed cache in the WordPress admin side bar.
- Then click on Cache.
- Click on Purge.
- Locate the Purge All On Upgrade and change it.
- Click save changes