Skip to content

Commit 57a6bf5

Browse files
committed
GRAILS-8805 related: implement clearCache for view resolver
1 parent ed7bd1e commit 57a6bf5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

grails-web/src/main/groovy/org/codehaus/groovy/grails/web/servlet/view/GrailsViewResolver.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,4 +217,10 @@ public long getCacheTimeout() {
217217
public void setCacheTimeout(long cacheTimeout) {
218218
this.cacheTimeout = cacheTimeout;
219219
}
220+
221+
@Override
222+
public void clearCache() {
223+
super.clearCache();
224+
VIEW_CACHE.clear();
225+
}
220226
}

0 commit comments

Comments
 (0)