• Resolved JibsouX

    (@jibsoux)


    Hello, I would like to have more explanation about the following setting: Retain Transients in Db

    Thanks in advance !

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi there,

    By default WordPress stores Transients Cache in Database. When a persistent object cache is available, it switches Transients from Database to the object cache.

    Some plugins use Transients not in the proper ways, it stores too large data without expiration time. Without expirations, WordPress will place Transient in the “alloptions” variable. It will make persistent object caching solutions like Docket Cache can’t handle it.

    The ideal “alloptions” size recommended by most hosting providers is not more than 1MB. Considering Docket Cache is file-based, we allow 3MB by default for each object. It can be changed by defining the DOCKET_CACHE_MAXSIZE constant.

    So, “Retain Transients in Db” as the label suggested, will keep Transients in Database without switching it to a persistent object cache.

    References:

    Thanks.

    Thread Starter JibsouX

    (@jibsoux)

    but this option like you explainn “So, “Retain Transients in Db” as the label suggested, will keep Transients in Database without using a persistent object cache.” will simply desactivate object cache ??

    Sorry a try to really understand this option.. ^^’

    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi,

    Nope. This option did not deactivate the object cache. It only makes Transient work without an object cache. WordPress Transients will use Database as storage.

    Thanks.

    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi,

    I’m marking this thread as resolved. Feel free to open a new topic if you have further questions.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Information on : Retain Transients in Db’ is closed to new replies.