{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/5395","repository_url":"https://api.github.com/repos/spring-projects/spring-boot","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/5395/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/5395/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/5395/events","html_url":"https://github.com/spring-projects/spring-boot/issues/5395","id":140482423,"number":5395,"title":"ThymeleafViewResolver does not pick up cache/cacheLimit from properties","user":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/waiting-for-triage","name":"waiting-for-triage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-13T12:49:04Z","updated_at":"2016-03-13T19:25:45Z","closed_at":null,"body":"The auto configuration for the ThymeleafViewResolver does:\r\n\r\n```\r\nThymeleafViewResolver resolver = new ThymeleafViewResolver();\r\nresolver.setTemplateEngine(this.templateEngine);\r\nresolver.setCharacterEncoding(this.properties.getEncoding().name());\r\nresolver.setContentType(appendCharset(this.properties.getContentType(),\r\n\t\t\t\t\tresolver.getCharacterEncoding()));\r\nresolver.setExcludedViewNames(this.properties.getExcludedViewNames())\r\n```\r\n\r\nThe resolver also has setters for cache and cachelimit which are not taken into account from the properties. The resolver as such always ends up caching views, it seems. "},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/196027801","html_url":"https://github.com/spring-projects/spring-boot/issues/5395#issuecomment-196027801","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/5395","id":196027801,"user":{"login":"snicoll","id":490484,"avatar_url":"https://avatars.githubusercontent.com/u/490484?v=3","gravatar_id":"","url":"https://api.github.com/users/snicoll","html_url":"https://github.com/snicoll","followers_url":"https://api.github.com/users/snicoll/followers","following_url":"https://api.github.com/users/snicoll/following{/other_user}","gists_url":"https://api.github.com/users/snicoll/gists{/gist_id}","starred_url":"https://api.github.com/users/snicoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snicoll/subscriptions","organizations_url":"https://api.github.com/users/snicoll/orgs","repos_url":"https://api.github.com/users/snicoll/repos","events_url":"https://api.github.com/users/snicoll/events{/privacy}","received_events_url":"https://api.github.com/users/snicoll/received_events","type":"User","site_admin":false},"created_at":"2016-03-13T19:25:45Z","updated_at":"2016-03-13T19:25:45Z","body":"The cache is managed by the `TemplateResolver` created in the same auto-configuration class.\r\n\r\nDid you run in an actual problem? From your description, it's not really clear if you're guessing or you're actually having a problem."}}