Skip to content

SpringTemplateLoader returns -1 for lastModified which breaks caching [SPR-7454] #12112

@spring-projects-issues

Description

@spring-projects-issues

Michael Wyraz opened SPR-7454 and commented

org.springframework.ui.freemarker.SpringTemplateLoader.getLastModified() returns -1. This prevents Freemarker from detecting template changes. Is simply should return resource.lastModified().


Affects: 2.5.6

Referenced from: commits 9bd0bd9

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions