‎-1

I think that is one place where feature by default is better than performance 
by default. 

Are the missing files cached?

Cheers,

-- Denis.
  Original Message  
From: Daniel Dekany
Sent: Tuesday, 13 June 2017 13:19
To: dev@freemarker.incubator.apache.org
Reply To: dev@freemarker.incubator.apache.org
Subject: [FM3] Should localized template lookup be off by deault?

In FM2 the localizedLookup configuration setting defaults to true, so
by default if you issue cfg.getTemplate("foo.ftl") and cfg.locale is
en_US, then FM will look for foo_en_US.ftl, then foo_en.ftl, then
foo.ftl. I think most users don't use localized lookup, and they don't
realize that this is happening, while this means extra I/O.

I propose that in FM3 we change the default of this setting to false.

-- 
Thanks,
Daniel Dekany

Reply via email to