Hint to browser that configuration list should not be cached.

This commit is contained in:
Michael Jumper
2012-02-29 00:10:21 -08:00
parent a0d81dbbba
commit 0dcaed693e

View File

@@ -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();