Handling Page Caching | WordPress.org

[ad_1]

Hi,
We have been working with the Easy Form Builder plugin and encountered some challenges with page caching. To address these issues, we use the following function to handle page caching with our plugins:

public function cache_cleaner_Efb($page_id){

if (defined('LSCWP_V') || defined('LSCWP_BASENAME' ))

//litespeed done

do_action( 'litespeed_purge_post', $page_id );

else if (function_exists('rocket_clean_post'))

...

Click here to get the full source code on GitHub.

However, we’re seeking a more integrated solution. Specifically, we’re looking for a structure or method similar to what other plugins use to manage caching effectively.

Thank you in advance for your help and insights!

Best regards

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer