hmm as i understand you want to use the cache mechanism of ez ?
if so why dont you parse a template file at your AJAX call ? then ezpublish will have the control.
Gaetano Giunta
Tuesday 23 August 2011 7:15:52 am
Using a template for ajax responses is a good idea as long as the data you are showing is coming from a node - because you will benefit of view caching out of the box.
If the data is mixed (coming from different parts of the database), you have to do different things:
- if you are using a "proxy" node to display it, you will have to reset the view cache using the set-block template function to eg. only last five minutes
- if you are using a system template for a custom view of yours, you will need to use the cache-block template function instead, as there is no view cache in action
There should be a nice tutorial around from Bertrand Dunogier on this topic, but I cannot find it at the moment - maybe it's in some conference slide set...
Principal Consultant International Business
Member of the Community Project Board
Jerome Despatis
Wednesday 24 August 2011 4:01:05 am
I'm also interested in this resource!
You must be logged in to post messages in this topic!