mirror of https://github.com/apache/lucene.git
SOLR-2181: Add HTTP Caching status to admin ui
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1025669 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
405cb198a0
commit
19244901b0
|
@ -115,4 +115,6 @@
|
|||
|
||||
String cwd=System.getProperty("user.dir");
|
||||
String solrHome= solrConfig.getInstanceDir();
|
||||
|
||||
boolean cachingEnabled = !solrConfig.getHttpCachingConfig().isNever304();
|
||||
%>
|
||||
|
|
|
@ -39,3 +39,6 @@ var host_name="<%= hostname %>"
|
|||
|
||||
<%= hostname %>:<%= port %><br/>
|
||||
cwd=<%= cwd %> SolrHome=<%= solrHome %>
|
||||
<br/>
|
||||
<%String cachingStatus = " HTTP caching is "; %>
|
||||
<%= cachingEnabled ? cachingStatus + " ON": cachingStatus + " OFF" %>
|
||||
|
|
Loading…
Reference in New Issue