LiteSpeed `litespeed_buffer_after` hook and Cheched content
-
Hi,
I have a couple of doubts about the
litespeed_buffer_after
hook in LiteSpeed.What is the difference between
litespeed_buffer_before
andlitespeed_buffer_after
? They both seem to be manipulating the$content
of the webpage.Also, do these hooks modify the Cached content or Cache the modified content. For example,
// The original content is 'All the page content'. function remove_broken_style( $content ) { return str_replace( 'page', 'webpage', $content ); } add_filter( 'litespeed_buffer_after', 'remove_broken_style', 0); // The original content becomes 'All the webpage content' with the hook.
In the above example, what does LiteSpeed cache? Will the content cached by LiteSpeed plugin on my website be ‘All the page content’ or ‘All the webpage content’? Which version will be saved on all the QUIC.cloud CDN servers?
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘LiteSpeed `litespeed_buffer_after` hook and Cheched content’ is closed to new replies.