Title: compatible issue. possibly hooks or php ob_start buffer
Last modified: August 20, 2016

---

# compatible issue. possibly hooks or php ob_start buffer

 *  [adrianboston](https://wordpress.org/support/users/adrianboston/)
 * (@adrianboston)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/compatible-issue-possibly-hooks-or-php-ob_start-buffer/)
 * hello
 * im having trouble with your plugin (and other caching plugins such as w3-total
   and wp-cache) using my plugin. my plugin is mostly useful when used with a caching
   plugin.
 * the underlying data is present yet hidden. no images, no formatting, etc.
 * my plugin has hooks into 4 user actions. prior to delivery to browser. the hooks
   include the ones in ‘the_post action hook.
 * these functions call the php buffer (ob_start, ob_flush) functions.
 * >  //Called only once before loop
   >  function loopStart() { ob_start(‘doWork’);}
   > function thePost() { ob_flush(); } function loopEnd() { ob_end_flush(); }
   > function doWork($content) {
   >  //alter content in some way; return $content; }
 * the plugin w3-total-cache leaves out all the post data, thus im thinking that
   it also calls ‘the_post’
 * does your caching plugin call hooks???
 * also as an added bonus, the following warning in wp-cache? Notice: Undefined 
   index: HTTPS in /wordpress/wp-content/plugins/wp-super-cache/wp-cache.php on 
   line 949
 * thanks for your time.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/compatible-issue-possibly-hooks-or-php-ob_start-buffer/#post-2253437)
 * No, Supercache doesn’t call hooks when caching. It caches when PHP is shutting
   down. There might be a bug in your plugin?
 * Thanks for the HTTPS notice. I’ll have a look at that.

Viewing 1 replies (of 1 total)

The topic ‘compatible issue. possibly hooks or php ob_start buffer’ is closed to
new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/compatible-issue-possibly-hooks-or-php-ob_start-buffer/#post-2253437)
 * Status: not resolved