Commit 5471325f6023d9f0d9e2cf971d367c986a389f55

Authored by Igor Kulikov
1 parent 6dc6dc06

Disable spring boot cache control in order to enable browser caching.

... ... @@ -134,7 +134,7 @@ public class ThingsboardSecurityConfiguration extends WebSecurityConfigurerAdapt
134 134
135 135 @Override
136 136 protected void configure(HttpSecurity http) throws Exception {
137   - http.headers().frameOptions().disable()
  137 + http.headers().cacheControl().disable().frameOptions().disable()
138 138 .and()
139 139 .csrf().disable()
140 140 .exceptionHandling()
... ...