We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 005805a + 693d74c commit 836333aCopy full SHA for 836333a
jooby-pebble/src/main/java/org/jooby/pebble/Pebble.java
@@ -186,6 +186,7 @@ public Pebble doWith(final Consumer<PebbleEngine.Builder> callback) {
186
public void configure(final Env env, final Config conf, final Binder binder) {
187
/** Template cache. */
188
String mode = env.name();
189
+ pebble.cacheActive(!mode.equals("dev"));
190
if (mode.equals("dev") || conf.getString("pebble.cache").isEmpty()) {
191
pebble.templateCache(null);
192
} else {
0 commit comments