cache on extend (on inheritance)