• Resolved saens

    (@saens)


    Hi,
    Great to see support (coming) for object caching.
    Does using this also mean redirections are pre-cached before any hits?
    TTL is derived from whatever the object cache is set to?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Godley

    (@johnny5)

    > Great to see support (coming) for object caching.

    Support is already here.

    > Does using this also mean redirections are pre-cached before any hits

    No, like most caches it requires a request to be made.

    > TTL is derived from whatever the object cache is set to?

    The plugin uses whatever caching system is in use, I can’t comment on what the expiry may be.

    roam92

    (@roam92)

    Hi John,

    I’m intrigued by the new Redirect Caching (beta) option to “enable caching of redirects via WordPress object cache which can improve performance.”

    It says it “requires an object cache.” How do I know if I have this or not?

    I know WordPress has a built-in object cache, WP_Object_Cache – but guessing that’s not what it’s referring to here? W3 Total Cache offers a separate object cache, but I stopped using that years ago as the plugin was overly complex and my site is largely static, so a simpler page cache worked fine.

    Will it do any harm to check the Redirection caching box if the necessary object cache isn’t in place? Does the plugin itself check (or fail gracefully) if that support is lacking?

    Thanks very much!

    Plugin Author John Godley

    (@johnny5)

    @roam92 you will need plugin support. WordPress just caches to memory which is emptied on each request. You will need plugin support to store to a more permanent location.

    Enabling it won’t have any effect unless the data is being stored somewhere.

    roam92

    (@roam92)

    Thank you John, that’s helpful. Can you give some examples of what plugins you might recommend or would be compatible to support Redirection caching?

    My webhost offers Redis as an add-on, but for $100/month and not recommended for more static sites like blogs. The aforementioned W3TC is also too much for most needs.

    Are there any others you suggest, which might be more simple or inexpensive? Otherwise I’m not sure how I can take advantage of this new feature.

    Thanks again!

    Plugin Author John Godley

    (@johnny5)

    As far as Redirection is concerned it is just using the WordPress object cache functions and isn’t involved any further.

    I used memcached during development as it was the simplest to set up, but otherwise I don’t have any recommendations, and it really comes down to what fits your environment.

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

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