[wp-hackers] Post content prerendering for WP 1.6

Owen Winkler ringmaster at midnightcircus.com
Wed Aug 17 12:55:14 GMT 2005


Mark Jaquith wrote:
> The benefits of this system will be small on the default WP setup.  
> wpautop, wptexturize, convert_smilies and convert_chars aren't very 
> expensive.  But as people start adding acronym plugins that iterate 
> through hundreds of array elements doing regexes for each one on each 
> displayed post, and complex formatting plugins like textile2, this 
> should speed things up noticeably.  

So just to clarify-  If you have a plugin that adds static content  to a 
post (content that doen't change unless the post itself changes) via the 
the_content plugin hook, you should switch your code to sink 
the_content_filtered instead to reap the benefits of the cached filtering.

the_content will continut to work as always, and the results won't be 
cached.

Have I got it?

Owen


More information about the wp-hackers mailing list