• Resolved hassantafreshi

    (@hassantafreshi)


    As the developer of the?Easy Form Builder plugin, I’m seeking some advice about potential conflicts with Aruba HiSpeed Cache .

    Here is the function I am currently using for internal caching:

    public function get_efbFunction($state) {   
    if (isset($this->efbFunction)) return $this->efbFunction;
    $efbFunctionInstance;
    if (false === ($efbFunctionInstance = wp_cache_get('efbFunctionInstance', 'emsfb'))) {
    if (!class_exists('Emsfb\efbFunction')) {
    require_once(EMSFB_PLUGIN_DIRECTORY . 'includes/functions.php');
    }
    $efbFunctionInstance = new \Emsfb\efbFunction(); wp_cache_set('efbFunctionInstance', $efbFunctionInstance, 'emsfb', 3600); // 1 hour cache }
    $this->efbFunction = $efbFunctionInstance; if ($state == 1) return $this->efbFunction;}

    My concern is whether using?wp_cache_get?and?wp_cache_set?for internal caching might cause any conflicts with Aruba HiSpeed Cache. Has anyone had similar experiences or know of best practices to ensure they work together smoothly?

    Any guidance or insights would be greatly appreciated.

    Thank you for your help!

    Best regards,

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Aruba Support

    (@arubasupport)

    Dear customer,

    from the checks we have carried out, we exclude that there may be any conflicts with the mentioned methods, as the plugin does not generate a cache, but only the cleaning of the cache produced by the Hispeed cache service. HiSpeed Cache stores dynamic content in the server’s memory after the first loading, so that it is available for subsequent requests in much less time, making site navigation much faster. The plugin simply clears the cache each time a page, article or custom content is modified. Aruba’s caching service does not manage the data, but simply allows a better TTFB by managing the loading of web pages.
    The methods indicated use the cache to manage the data and not the pages, we therefore exclude any type of conflict.

    Kind regards.

    • This reply was modified 2 months, 3 weeks ago by Aruba Support.
    Thread Starter hassantafreshi

    (@hassantafreshi)

    Thank you for your detailed explanation.

    Plugin Contributor Aruba Support

    (@arubasupport)

    Thank you, we remain at your disposal

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.