[htmltmpl] Dynamic Filters for cached templates forced recall ?
Brought to you by:
samtregar
From: Chris N. <chr...@in...> - 2002-07-11 11:50:39
|
Hi, I want to be able to run HTML::Template::JIT or standard cached HTML::Template with a dynamic filter. I have run a filter which contains a call to a subroutine which does a remote data retrieval socket GET but it appears that HTML::Template is not dynamically re-calling this routine. I have looked at the Inline C for the JIT template and the remote data is just embedded as a normal string. Is there anyway to make this subroutine call be forced to be called every time (without switching off caching or sacrificing the JIT stuff) ? I have looked at alternatives such as building something into Apache to scan the delivered pages and re-parse a tag which I'd flag as dynamic but ideally want to be able to use the HTML::Template constructs on the dynamic data. Apologies if I'm missing something obvious. Chris |