more work for cache control, auto refresh on change of chains for shape-view and shape-context