Cache Enabler Support
-
Hey Gijo π
I noticed Flying Scripts doesn’t currently play nicely with Cache Enabler due to them both using output buffering.
Taking a look in html-rewrite.php I spotted your W3TC filter, so I tried something similar for Cache Enabler
// cache enabler rewrite add_filter('cache_enabler_before_store', function ($buffer) { if ( is_admin() ) return $buffer; return flying_scripts_rewrite_html($buffer); });
And it seems to do the trick.
Any reason to NOT do this?Colm
(sidenote: i’m stuck on an older version of Cache Enabler, the filter name is cache_enabler_page_contents_before_store in the newer versions)
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Cache Enabler Support’ is closed to new replies.