Configuration.setTemplateLoader doesn't clear the cache anymore if you set the same TemplateLoader object (same instance) again.