ezsystems/ezpublish — pull request #461 by xc (2012-10-06 22:06:12+00:00)
Title: Optimize batch clear cache

This is to optimize move&hide by 2 ways.

1) support $clearCacheType when clearing cache, to give more flexibility especially in batch clearing.

2) Calculate nodelist once for root&children it won't get long calculation in subnode. This is useful for more than 200 nodes because it will expire all view cache.

Test:
(with feature in https://github.com/ezsystems/ezpublish/pull/441 first)

In hiding, in 2000 nodes it is from timeout to 1 second(because it expires all cache including children)