Clear cache for Options Page




Wordpress LScache Plugin: Clear cache for Options Page

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, In reference to this old post: https://wordpress.org/support/topic/purge-cache-when-advanced-custom-fields-field-updated/ Id like to ask for some additional advice. @stanleylitespeed said: Yes, you can add the hook on our plugin for auto purging, please try to add acf/update_value to LiteSpeed Cache > Setting > Advance > Purge All Hooks. When I add acf/update_value, the Options page I have at /wp-admin/admin.php?page=order_site_options, doesnt save the ACF data before it refreshes, reloads the default data and purges the cache :C Ive tried these hooks: edit_post_ $post->order_site_options edit_post_ $post->acf-options-page edit_post update_option update_option gave a 500, and I tried a few other update_x hooks. Im a bit confused as to what the hook is that gets updated. Im using https://wordpress.org/plugins/options-page-admin-for-acf/ I still cant figure out what I need to actually add to the Purge All Hooks field in LiteSpeed. But Im assuming its either a post type or just a normal page. Cheers. This topic was modified 2 years, 2 months ago by hdawc. Reason: added extra info This topic was modified 2 years, 2 months ago by hdawc. Hi, Please try add update_field to purge hook in Purge tab , and see how it goes Best regards, Hi, That works, thank you. I was searching the WordPress hooks repo, so its odd I didnt come across it!



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference