use caching template loader in production