You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Timothy Potter (Jira)" <ji...@apache.org> on 2021/09/09 20:28:00 UTC

[jira] [Created] (SOLR-15621) index.html for Admin UI should send Solr version in the request for JavaScript files

Timothy Potter created SOLR-15621:
-------------------------------------

             Summary: index.html for Admin UI should send Solr version in the request for JavaScript files
                 Key: SOLR-15621
                 URL: https://issues.apache.org/jira/browse/SOLR-15621
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Timothy Potter
            Assignee: Timothy Potter


For CSS, index.html adds the Solr version field to avoid caching issues when switching between the Admin UI for different Solr versions:
{code}
  <link rel="stylesheet" type="text/css" href="css/angular/angular-csp.css?_=${version}">
{code}

The script src for JavaScript files should use the same pattern:
{code}
  <script src="libs/jquery-3.5.1.min.js?_=${version}"></script>
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org