Share » Forums » General » Clearing View Cache

Clearing View Cache

Clearing View Cache

Friday 30 April 2010 8:47:34 am - 7 replies

Author Message

Gaetano Giunta

Friday 30 April 2010 8:56:33 am

Not a cronjob.

It is done realtime when an object is published.

Viewcache for object, parent, and related objects is cleared.

You can finetune this by parameters in viewcache.ini, bu enabling the smartviewcache.

Look up more in the online docs: http://ez.no/doc/ez_publish/technical_manual/4_x/features/view_caching

Principal Consultant International Business
Member of the Community Project Board

Johann Lemaitre

Wednesday 12 May 2010 7:29:02 am

In the back office, a contributor can click on the picture next to the content title in the content preview box.

After, in the tooltip, he can choice the option "clear the viewcaching of the current node or clear the view caching à the subtree".

To open this functionnality to my contributor without giving the administrator role.

So could you tell me what is the right and single rule to do it ?

I have tested the rule "setup -> managecache -> no limit" but it is not a success.

Thx for your help.

Bertrand Dunogier

Wednesday 12 May 2010 11:28:50 am

Why would you want to do that, Johann ? :)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Johann Lemaitre

Wednesday 19 May 2010 2:48:11 am

I have configured further smartViewCache rules.

But if I have forgotten one, editors can always force the cache cleanup.

So it is possible to do it ?

Johann Lemaitre

Friday 28 May 2010 5:34:51 am

The solution :

you affect the fonction "managecache" of the module "setup" without limitation

Johann Lemaitre

Friday 28 May 2010 5:36:38 am

The solution

you should configure the "managecache" fonction of the "setup" module with NO LIMITATION

Nicolas Pastorino

Friday 28 May 2010 8:11:42 am

Thanks Johann for sharing the solution!

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu