• Resolved Jamie Burchell

    (@jamieburchell)


    Hi there

    I have unchecked “Store transients in database” as I believe this is better for performance than not (?) however I have noticed there are still transients in the database. One of them has an expiry date of yesterday.

    Should these be garbage collected automatically, or should I delete them?

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

    (@vmarko)

    Hello @jamieburchell

    Thank you for your feedback.
    As you can see in the description:
    Use that to store transients in the database even when an external cache is used. That allows transient values to survive object cache cleaning/expiration.
    When have you disabled this option? Before or after enabling the OC?

    Thanks!

    Thread Starter Jamie Burchell

    (@jamieburchell)

    I would have transients already stored in the database before I installed and activated W3 Total Cache and the object cache. My understanding was that if this checkbox is unchecked, the database would not be used for transients? In this case should I manually remove them from the database as they don’t appear to be garbage collected.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jamieburchell

    Yes, you should remove them manually and keep the option disabled in this case.

    Thanks!

    Thread Starter Jamie Burchell

    (@jamieburchell)

    Thanks @vmarko. I ran wp transient delete --all which removed them from the database.

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

The topic ‘Remove transients from database after enabling object cache?’ is closed to new replies.