Hint to browser that configuration list should not be cached.
This commit is contained in:
1 parent
a0d81dbbba
commit
0dcaed693e
1 file changed
+3
@@ -53,6 +53,9 @@ public class ConfigurationList extends HttpServlet {
|
||||
return;
|
||||
}
|
||||
|
||||
// Do not cache
|
||||
response.setHeader("Cache-Control", "no-cache");
|
||||
|
||||
// Write XML
|
||||
response.setHeader("Content-Type", "text/xml");
|
||||
PrintWriter out = response.getWriter();
|
||||
|
||||
Reference in new issue
Block a user