Igor Guzenko created DRILL-6776:
-----------------------------------

             Summary: Drill Web UI takes long time for first time load in 
network isolated environment
                 Key: DRILL-6776
                 URL: https://issues.apache.org/jira/browse/DRILL-6776
             Project: Apache Drill
          Issue Type: Bug
          Components: Web Server
    Affects Versions: 1.14.0
            Reporter: Igor Guzenko
            Assignee: Igor Guzenko
             Fix For: 1.15.0


In the case when cluster is built upon network isolated from internet, 
First-time loading of UI takes about 25 seconds. Where 15 seconds browser spent 
on waiting while request for 
/ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js
timed out.

JQuery was added to static resources in scope of DRILL-5699, but dependency on 
google's cdn wasn't fully removed. So the static resource was added as a 
[fallback|https://stackoverflow.com/questions/1014203/best-way-to-use-googles-hosted-jquery-but-fall-back-to-my-hosted-library-on-go]
 . I guess the main reason why fallback solution was applied is that there is a 
higher probability that library from google's mdn may be found & loaded from 
browser's cache.


Unfortunately this graceful solution doesn't work for really isolated 
environment, that's 
why we need to fully remove the 
/ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js dependency.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to