Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Moving this to AF's queue. There isn't a way to cache AP from within AP since there's no template post process and it's really only needed where you have multiple APs, like AF.
Spoke too soon... Should have finished the IRC conversation first. :)
Michelle: so you could call hook_theme_registry_alter() and add a template_process_HOOK function to the end of the list for your module's own theme hooks.
That would make it work with anything else that showed multiples of the same AP on a page as well. Probably not much outside of AF will do that but you never know.
I decided against the whole pane caching because it's very messy and is already handled by AF with Nodecomment anyway due to the Views integration. Instead, I implemented static variable caching on the integrations maintained in AP that have queries. Committed but needs thorough testing.
Comments
Comment #1
crea commentedSubscribing ;)
Comment #2
michelleMoving this to AF's queue. There isn't a way to cache AP from within AP since there's no template post process and it's really only needed where you have multiple APs, like AF.
Michelle
Comment #3
michelleSpoke too soon... Should have finished the IRC conversation first. :)
That would make it work with anything else that showed multiples of the same AP on a page as well. Probably not much outside of AF will do that but you never know.
Michelle
Comment #4
michelleI decided against the whole pane caching because it's very messy and is already handled by AF with Nodecomment anyway due to the Views integration. Instead, I implemented static variable caching on the integrations maintained in AP that have queries. Committed but needs thorough testing.
Michelle