Author Topic

Jorge estévez

Saturday 22 November 2008 5:10:51 am

Comment50396

Thanks, once again!

Just read and makes sense to have viewcache to increase performance. I understood the javascript being at the pagelayout (I have a js code that handles a realy big tree menu for the site located at the end of pagelayout).

The difference between my js code and the one sugested, is that the first uses only js code, but the second one (the one I should implement to solve the cache issue) should get data from the nodes of the site (get all nodes from the current node_id tree and randomlly show the image of one of the nodes, as quoted before in this forum thread)

So I must use ezp script to get all nodes and show the image, but since everything at this point of excecution is viecached the ezp script will not run at all, and has been changed long ago for some html generated code.

So at the time the page refreshes it will still have the same data (the generated html).

Hope I make myself clear (quite a bit of a mess trying to explain this)!

So the aproach to get the data from nodes is the one that is missing for me [I guess, at this point :-) ]

thanks...

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com