Support » Plugin: W3 Total Cache » Not caching an opt-in form

  • Resolved designer13421321

    (@nistuj817)


    Hey there,

    How does one tell W3 to not cache a Bloom email opt-in form we use throughout our site? It’s through a WordPress plugin called Bloom and the only time users can submit the form on any page is if we clear the site cache.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello @nistuj817

    Thank you for your inquiry and I am happy to assist you with this.
    I am not familiar with the mentioned plugin so can you please share the URL of that plugin?
    Have you tried excluding those pages from being cached in Perofrmance>Page Cache>Advanced>”Never Cache following Pages”?
    I.E:
    /contact/

    Thanks!

    Thread Starter designer13421321

    (@nistuj817)

    Hey there,

    Well, there’s a lot of good content on the pages where the opt-in form is embedded, and we still want those pages cached, just not the email opt-in forms

    Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello @nistuj817

    Thank you for the information. Most likely the nonce issue.
    In this case, you can use Cache Preload in Performance>Page Cache to Automatically prime the page cache. With this, you can manage Update interval: The number of seconds to wait before creating another set of cached pages.
    Also, there is an option Garbage collection interval: which If caching to disk, specifies how frequently expired cache data is removed. For busy sites, a lower value is best.
    You can also exclude the desired page from being cached or use Page fragment caching to exclude certain parts of the page from being cached.
    Thanks!

    Thread Starter designer13421321

    (@nistuj817)

    The garbage collection interval was set to 3600 seconds, which already appears to be low.

    I’ve now enabled “Automatically prime the page cache” and the update interval is 900 seconds. Is this good?

    With page fragment caching, could would I specify that part of the page with the optin so that W3 knows?

    Thanks

    Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello @nistuj817

    Yes, the rime cache config is good, and make sure to add the sitemap URL.
    You can check the FAQ as provided, follow the steps there, and wrap the code responsible for opt-in with mfunc.
    Thanks!

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