View cache not clearing on publish in version 4.2

Author Message

Eddie 1506

Thursday 10 December 2009 4:22:08 pm

Hello all, I have a rather specific problem with view cache.

I have Frontpage class that has "Object relations" attribute and full override template for that class displays related objects using node_view_gui. Also, other parts of that template fetch some other content from all around the site and display it.

Now, that other content is encapsulated in cache-block with expiry set to 20 minutes and cache for Object relation attribute is not custom configured so it is the part of the view cache of the frontpage.

When I update the frontpage and add new objects to the attribute, I would expect that the stuff in cache-block remains cached as before and not regenerated, but the logic used to display object relations attribute to be regenerated so the frontpage would automatically show any new related objects that I added to Object relations attribute.

The problem is, it doesn't work as expected. View cache isn't cleared when frontpage is published so it remains exactly as it was.

What am I missing?

Thanks!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.