[wp-trac] Re: [WordPress Trac] #1595: Post Content Prerendering
WordPress Trac
wp-trac at lists.automattic.com
Wed May 6 12:07:52 GMT 2009
#1595: Post Content Prerendering
--------------------------------------+-------------------------------------
Reporter: markjaquith | Owner: markjaquith
Type: enhancement | Status: closed
Priority: normal | Milestone: 2.8
Component: Optimization | Version: 2.1.2
Severity: normal | Resolution: invalid
Keywords: 2nd-opinion dev-feedback |
--------------------------------------+-------------------------------------
Changes (by Denis-de-Bernardy):
* status: reopened => closed
* resolution: => invalid
* milestone: 2.9 => 2.8
Comment:
#6284 has been fixed -- this can now be done by a plugin:
on loop start, find the last hook on the_content
on the_post action, if pre-rendered content exists then:
- disable all the hooks on the_content
- set post_content to its pre-rendered value
else:
- restore the_content hooks
- proceed as normal
on loop_start, find the last hook on the_content, add a store_cache()
function after it
on post save:
- delete pre-rendered content for that post
on activate plugin:
- delete all pre-rendered content
--
Ticket URL: <http://core.trac.wordpress.org/ticket/1595#comment:14>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list