2
我使用Spring类FreeMarkerConfigurationFactoryBean来检索FreeMarker模板。我希望这些模板被缓存,但似乎没有任何方式可以表明这种行为是必需的。缓存FreeMarker模板
相反,Spring模块提供了一个CachingTemplateResolver,其确实提供模板缓存,但是有可能实现此,而无需使用Spring模块,即具有FreeMarkerConfigurationFactoryBean?
干杯, 唐