• Does Redis automatically respect the expiry time set in the transient, or do I need to flush Redis – or at least the object in question?

    I have a site which accesses an external API. I’m storing the JSON returned by the API in a transient set to expire after 24 hours, so I’m only querying the remote API once a day with the data loading instantly from the local DB the rest of the time.

    Now I’ve added Redis, so those transients are no longer in the database. Will the transients still auto-expire every 24 hours and force WordPress to query the API for fresh data, or do I need to configure Redis to delete the transient?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Transient Expiry’ is closed to new replies.