accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2983) Separate javascript resources (jquery, flot) from monitor
Date Tue, 08 Jul 2014 19:05:05 GMT


Josh Elser commented on ACCUMULO-2983:

Interesting. I hadn't thought about min'ified resources in that context before. Honestly,
for the scope of the monitor, we're probably not really gaining anything out of serving the
min'ified variants. Plus, after the first time, as long as we set the cache-control knobs,
the browser shouldn't be re-requesting them after the first visit. There are a lot of other
problems we'd hit with the monitor before loading of an extra 4k bytes from a JS file affect
us :)

> Separate javascript resources (jquery, flot) from monitor
> ---------------------------------------------------------
>                 Key: ACCUMULO-2983
>                 URL:
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: monitor
>            Reporter: Christopher Tubbs
>             Fix For: 1.7.0
> The javascript resources (namely jquery, and flot) are included directly in the monitor
jar, for inclusion on the classpath. The monitor then loads these resources, as needed, from
the classpath.
> Since these are third-party libraries, it may be better to include them as a dependency,
and put them in the lib directory.
> At the very least, this would help with downstream packaging, especially in situations
where third-party libraries cannot be included in a package, but it may help in other situations,
if we need to swap out a different version of jquery/flot dependencies.

This message was sent by Atlassian JIRA

View raw message