Relative Content

Tag Archive for spring-bootfreemarkercdn

Freemarker Fallback Not Working with Multiple Template Loaders in Spring Boot

I’m working on a Spring Boot project where I use Freemarker for templating. I have configured multiple TemplateLoaders in Freemarker’s configuration to load templates from two different CDN URLs: a baselineUrl and a dynamicUrl. The idea is that if a template is not found in the baselineUrl, it should fall back to the dynamicUrl.