• Resolved dorianc

    (@dorianc)


    Hi,

    I have 4 websites running Autoptimize and after a few days of CF7 working correctly, it stops suddenly. When I clear AO cache – it starts working again.

    I basically get 403 forbidden error for non-logged users, while it is working for logged in admin user.

    js excluded:
    wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js, js/jquery/jquery.min.js

    css excluded:
    wp-content/cache/, wp-content/uploads/, admin-bar.min.css, dashicons.min.css, wp-content/plugins/social-icons-widget-by-wpzoom/assets/css/

    Any help is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    “after a few days” -> this is the result of the nonce (a kind or random password that is a hidden field in the form in the HTML) expiring dorianc. AO does not cache/ change or remove that nonce, but your page cache does (the fact that clearing the AO cache fixes things is because AO & page caches often integrate to clear respective caches if one is purged) meaning you will want to review page caching to ensure it cached the HTML (with the nonce) for a shorter period.

    hope this helps,
    frank

    Thread Starter dorianc

    (@dorianc)

    Thanks for the help Frank! Nothing to do with AO, indeed.

    I enabled 10h cache removal according to the article below.
    https://www.wpfastestcache.com/tutorial/wordpress-nonce-cache/

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    happy to have pointed you in the right direction dorianc, feel free to leave a review of the plugin and support here! ??

    frank

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Contact form 7 not working’ is closed to new replies.