Make templateCache standalone