• Resolved mikeeey

    (@mikeeey)


    Hi,

    I’ve identified a conflict between CleanTalk’s Contact Data Encoding “Use the output buffer” option and WP Rocket’s page caching. Hoping to get guidance on the recommended configuration.

    Behavior observed:

    • With “Use the output buffer” ON: phone/email blur works correctly, but the caching plugin writes zero cache files for any page. Every request executes PHP fully, resulting in high TTFB (~1000ms).
    • With “Use the output buffer” OFF: page caching works correctly (TTFB drops to ~150ms), but contact info on the site is unblurred.

    Diagnostic detail: Logged the PHP output buffer stack at shutdown. CleanTalk’s encoder buffer sits between the caching plugin’s Cache::maybe_process_buffer (outer) and Optimization::maybe_process_buffer (inner) layers. When CleanTalk’s buffer closes, the final HTML doesn’t propagate correctly to the outer buffer, so no cache file is written. No DONOTCACHEPAGE constant is set, no PHP session is started, no disallowed response headers are sent — the only blocker is the buffer nesting itself.

    Environment:

    • CleanTalk Spam Protect (latest version)
    • WP Rocket (latest version)
    • Divi theme
    • PHP 8.3 on nginx/Apache

    Questions:

    1. Is there a page-cache-compatible mode for Contact Data Encoding that achieves the same visual blur without using a full-page output buffer (e.g. content-filter based, like the_content)?
    2. Is there a known-compatible configuration for CleanTalk + page caching plugins that preserves both the blur effect and caching?

    Thanks in advance for any guidance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support katereji

    (@katereji)

    Hello @mikeeey

    Thank you for the detailed information regarding the issue. We appreciate it!

    Could you please contact us via our private ticket system: https://cleantalk.org/my/support/open? We need to know your website URL, the plugin version and your CleanTalk account details for further investigation.

    Plugin Support eugenecleantalk

    (@eugenecleantalk)

    Hello.

    We’ve figured out that contact encoding on your site works even with the “Use the output buffer” option disabled. If you need to configure the plugins with this option enabled in the future, please let us know.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.