diff --git a/solr/src/webapp/web/admin/_info.jsp b/solr/src/webapp/web/admin/_info.jsp index 05a9f4ce35a..260e160a2aa 100644 --- a/solr/src/webapp/web/admin/_info.jsp +++ b/solr/src/webapp/web/admin/_info.jsp @@ -115,4 +115,6 @@ String cwd=System.getProperty("user.dir"); String solrHome= solrConfig.getInstanceDir(); + + boolean cachingEnabled = !solrConfig.getHttpCachingConfig().isNever304(); %> diff --git a/solr/src/webapp/web/admin/header.jsp b/solr/src/webapp/web/admin/header.jsp index 7ea1dbcc47b..9b40b1efc7a 100644 --- a/solr/src/webapp/web/admin/header.jsp +++ b/solr/src/webapp/web/admin/header.jsp @@ -39,3 +39,6 @@ var host_name="<%= hostname %>" <%= hostname %>:<%= port %>
cwd=<%= cwd %> SolrHome=<%= solrHome %> +
+<%String cachingStatus = " HTTP caching is "; %> +<%= cachingEnabled ? cachingStatus + " ON": cachingStatus + " OFF" %>