split cache templates into different files