• Hi I’m caching a response from another server in a custom plugin… Caching is working, and I have set up the following.

    $timenow = time();
    $myexpire = 60 * 60 ; // Cache data for one hour (3600 seconds)
    wp_cache_set('time', $timenow, 'stuff', $myexpire);

    But I’m finding that the cache is updating every 15mins or so, can anyone thinks of any reason why ?

    Cheers,
    Nick

  • The topic ‘wp_cache expiring too quickly ?’ is closed to new replies.