keycdn / cache-enabler

A lightweight caching plugin for WordPress that makes your website faster by generating static HTML files.
https://wordpress.org/plugins/cache-enabler/
123 stars 46 forks source link

update output buffer handling #203

Closed coreykn closed 3 years ago

coreykn commented 3 years ago

Update Cache_Enabler_Engine::end_buffering() to always return a string for the ob_start() callback. Move the cache_enabler_page_contents_before_store filter hook to Cache_Enabler_Disk::cache_page() instead.