Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
c86ce271
Commit
c86ce271
authored
Nov 18, 2020
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use non deprecated properties to override web resources cache
Closes gh-24203
parent
15c44aa4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
DevToolsPropertyDefaultsPostProcessor.java
...t/devtools/env/DevToolsPropertyDefaultsPostProcessor.java
+2
-2
No files found.
spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/env/DevToolsPropertyDefaultsPostProcessor.java
View file @
c86ce271
...
...
@@ -69,8 +69,8 @@ public class DevToolsPropertyDefaultsPostProcessor implements EnvironmentPostPro
properties
.
put
(
"spring.mustache.cache"
,
"false"
);
properties
.
put
(
"server.servlet.session.persistent"
,
"true"
);
properties
.
put
(
"spring.h2.console.enabled"
,
"true"
);
properties
.
put
(
"spring.resources.cache.period"
,
"0"
);
properties
.
put
(
"spring.resources.chain.cache"
,
"false"
);
properties
.
put
(
"spring.
web.
resources.cache.period"
,
"0"
);
properties
.
put
(
"spring.
web.
resources.chain.cache"
,
"false"
);
properties
.
put
(
"spring.template.provider.cache"
,
"false"
);
properties
.
put
(
"spring.mvc.log-resolved-exception"
,
"true"
);
properties
.
put
(
"server.error.include-binding-errors"
,
"ALWAYS"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment