fix #2994: have [NUMBER] template respect cache source