linkerd2/web/app
Andrew Seigner af47232eda
Hash JS bundle to expire cache (#2058)
JavaScript assets could be cached across Linkerd releases, showing an
out of date ui, or a broken page.

Modify the webpack build pipeline to add a hash to the JS bundle
filename. Move all logic around webpack-dev-server state from Go into
JS, via a templatized index_bundle.js file, generated at build time.
Disable caching of index_bundle.js in Go, via a `Cache-Control` header.

Fixes #1996

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
2019-01-16 12:59:30 -08:00
..
__mocks__ Use jest instead of karma for running tests (#1768) 2018-10-15 17:06:35 -07:00
css Remove less and post-css from the project (#2002) 2018-12-19 16:34:04 -08:00
img Add grafana icon to links, refactor svgs, link to ResourceDetail component (#1482) 2018-08-17 15:12:33 -07:00
js Only index top results for which we have the full request (#2045) 2019-01-08 13:26:22 -05:00
test Reduce webpack bundle size: import lodash by module (#2028) 2019-01-03 13:50:46 -05:00
.babelrc Reduce webpack bundle size: remove react prop types in production builds (#2036) 2019-01-04 16:05:48 -05:00
.eslintrc Fix lodash error on namespace landing page (#2043) 2019-01-04 12:32:46 -08:00
index_bundle.js.lodash.tmpl Hash JS bundle to expire cache (#2058) 2019-01-16 12:59:30 -08:00
package.json Hash JS bundle to expire cache (#2058) 2019-01-16 12:59:30 -08:00
webpack-mv-plugin.js Hash JS bundle to expire cache (#2058) 2019-01-16 12:59:30 -08:00
webpack.config.js Hash JS bundle to expire cache (#2058) 2019-01-16 12:59:30 -08:00
yarn.lock Hash JS bundle to expire cache (#2058) 2019-01-16 12:59:30 -08:00