• Resolved Alfonso Catrón

    (@alfonso100)


    Hi, I have noticed that when using External Links in conjunction with WP Rocket, the output of the cached page is incomplete.

    This happens because wp-external-links is using ob_end_clean(); at line 69 of /wp-content/plugins/wp-external-links/includes/class-wpel-front.php

    This function manipulates the buffer causing incorrect output.

    thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    Sorry to hear you are having issues ??
    Did you get an error or how did you conclude that it’s the ob_end_clean() at line 69 causing the issue?

    Thread Starter Alfonso Catrón

    (@alfonso100)

    Hi Alexandru, thank you for your fast answer!
    I work at WP Rocket’s support team and noticed this on a customer site. WP Rocket uses the output buffer to generate the cache files, and the ob_end_clean() function empties buffer.
    I’m sure many other plugins use buffering too. Maybe you need to check if a buffer is active before cleaning it?

    thank you!

    Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    That function containing the ob_get_clean() is actually no longer used. The previous coder probably forgot to remove it. I will remove that code in the next version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflict with WP Rocket cache’ is closed to new replies.