Forums / Setup & design / Should an editor clear the cache EVERY time?

Should an editor clear the cache EVERY time?

Author Message

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?

Thanks
Giovanni

Ɓukasz Serwatka

Tuesday 26 April 2005 11:13:43 pm

Hi Giovanni,

Have you tried this tip?
http://www.ez.no/ez_publish/documentation/faq/general/content_does_not_appear_in_admin_after_publish

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog