USGS-VIZLAB / vizlab

Package with utilities for building vizlab pages
Creative Commons Zero v1.0 Universal
25 stars 14 forks source link

Minify JS and CSS #190

Open ldecicco-USGS opened 7 years ago

ldecicco-USGS commented 7 years ago

This will make the page load a bit faster.

Doesn't seem to be a direct R solution. The v8 package might offer a way to use standard javascript minimzer tools.

Side note: v8 might allow us to use the same workflow created in the "flood-viz" to auto-create thumbnails.

aappling-usgs commented 7 years ago

@ldecicco-USGS - is this issue the same as #13?

Minimize javascript and css for release builds. Have a way of doing non-debug and debug builds where javascript and css is or is not minimized accordingly.

ldecicco-USGS commented 7 years ago

Yup

wdwatkins commented 7 years ago

apparently HTML can be minified as well