introducing ThreadLocalCachedValue
track the reason of index updates
Templates obtained recursively
Merge remote-tracking branch 'origin/master'