• Resolved alx359

    (@alx359)


    I’m trying to fine-tune a cache plugin. Noticed PS uses NONCE’s in many places in the code. NONCE has a default TTL of ~10-24h, which means one may have to clear the page cache in that interval before it becomes invalid. That’s too often in some usage scenarios, as it may reflect negatively on the server resources during regeneration.

    Does PS’s nonces are really used in the frontend, or only in wp-admin? If the former applies, is it there a different nonce TTL for PS that’s still safe for caching?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author te_taipo

    (@te_taipo)

    PS generates its admin section nonce’s from the file modification timestamp filemtime()

    In practice, that means that the nonce only changes when PS files are updated. Other uses of nonces do not apply to rendering of HTML.

    There is no use of nonces used in the frontend.

    Thread Starter alx359

    (@alx359)

    Good to know, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘nonces and cache’ is closed to new replies.