enable thymeleaf and metadata inspect caches.