• Resolved Lyk

    (@lyk-1)


    Hello,

    Is the WordPress Nonce Cache still an issue?

    If yes, does that mean that caching for longer than 10h could cause issues? e.g. forms failing to submit etc?
    It this limited to some specific type of page/content?

    Assuming a blog with many pages or an eshop with a few thousands of products, I guess it is not reasonable to prime/preload the cache every 10h.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Emre Vona

    (@emrevona)

    Is the WordPress Nonce Cache still an issue?

    yes.

    If yes, does that mean that caching for longer than 10h could cause issues? e.g. forms failing to submit etc?

    yes.

    It this limited to some specific type of page/content?

    yes, you can do it: https://www.wpfastestcache.com/features/cache-timeout-page/

    Assuming a blog with many pages or an eshop with a few thousands of products, I guess it is not reasonable to prime/preload the cache every 10h.

    You are absolutely right.

    Thread Starter Lyk

    (@lyk-1)

    Assuming a blog with many pages or an eshop with a few thousands of products, I guess it is not reasonable to prime/preload the cache every 10h.

    You are absolutely right.

    So I guess the best way to proceed in such cases is either create the cache when needed and have it expire regularly (10hours) or verify that there are no nonces in features of the pages you try to cache and cache them without worrying about nonces (did a quick check and it seems that some of the basic form plugins do not use nonces by default)

    Plugin Author Emre Vona

    (@emrevona)

    It would be great if we could do this but we cannot detect a page uses nonces or not.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.