Commit ce6f1808 authored by Matija Obreza's avatar Matija Obreza

Spring Security negated caching headers of jetty's default servlet

parent 40d72331
......@@ -44,9 +44,7 @@
</sec:global-method-security>
<!--Do not filter static resources -->
<sec:http pattern="/0/html/**" security="none" create-session="stateless" />
<sec:http pattern="/1/html/**" security="none" create-session="stateless" />
<sec:http pattern="/html/**" security="none" create-session="stateless" />
<!-- And other stuff -->
<sec:http pattern="/webapi/**" security="none" create-session="stateless" />
......
......@@ -272,7 +272,7 @@
-->
<init-param>
<param-name>cacheControl</param-name>
<param-value>private, max-age=1200</param-value>
<param-value>private, max-age=3600</param-value>
</init-param>
</servlet>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment