• Resolved ekesavan

    (@ekesavan)


    I use W3TC plugin and enabled object cached using
    Memcache. I set expiration 1 hour in the wp_cache_set call. wp_cache_get call return the cached data only within 3s, after 3s it returns the empty data.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ekesavan

    Thank you for reaching out and I am happy to help!
    Can you please share if the Cache was purged at some point and where you are setting wp_cache_set call as this function is already set in object-cache.php

    Thanks!

    Thread Starter ekesavan

    (@ekesavan)

    Thanks Marko Vasiljevic

    No, Cache was not purged .

    I set 12 hours expiration for wp_cache_set call, wp_cache_get call returned empty data. I am using w3-total-cache version 2.4.1 and activated object cache using Memcached.

    I de-activated the plugin and tested wp_cache_get call, it returned the data.

    Also i checked data in the Memcached , data was in Memcached server

    $m = new Memcached();
    $m->addServer(‘localhost’, 11211);

    $m->get(‘w3tc_740017020_xxxxxxxxxx_0_object_365a43f3e0b3b603c2a462c2c1f0d3c2’ )

    Could you please check it? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘W3TC Object Cache’ is closed to new replies.