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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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