| Giovanni Gigante
                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Tuesday 26 April 2005 10:14:11 am 
                                                                
                                                                 The docs say that when something new is published, the cache is automatically cleared. However, it does not happen to me (I think). 
I have a simple custom class, descriptions of books actually (title, author, etc.), and a template that fetches and displays a list of all these books.Something like:
 
{let children=fetch( content, list,
hash( parent_node_id, $node.node_id,
sort_by, $node.sort_array ) )}
{section loop=$:children}
	{$:item.object.data_map.author.content|wash}
	{$:item.object.data_map.title.content|wash}
{/section}
{/let}
However, when I add or modify a book in the admin interface, everything in the user site remains the same, until I manually clear the cache in the admin interface.I thought that you should clear the cache only when you modify the template, not every time that you simply edit the contents.
 Is this normal? Is a site editor forced to manually clear the cache after every editing operation, or is there a way to avoid this?
 
ThanksGiovanni
 |