kibana/tasks
Mikhail Shustov 5082ff3252
use cache busting for KP bundles (#64414)
* convert into TS

* load plugin scripts in html body

* use buildNum as a unique Id for cache busting

* add tests for caching

* fix tests

* remove the last TODO. url should be inlined with assetss server

* this logic handled by publicPathMap on the client

* cache kbn-shared-deps as well

* attempt to fix karma tests

* always run file through replace stream

* place buildHash at begining of path, include all static files

* update bundles_route tests to inject buildNum everywhere

* fix karma config to point to right prefix

* use isDist naming throughout

* explain magic number with variables

* restore replacePublicPath option from #64226

* replace one more instance of replacePublicPath

* use promisify instead of bluebird + non-null assertions

* remove one more magic number

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-29 09:43:15 -07:00
..
config use cache busting for KP bundles (#64414) 2020-04-29 09:43:15 -07:00
docker_docs Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
check_plugins.js autofix all violations 2019-12-13 23:17:13 -07:00
docker_docs.js autofix all violations 2019-12-13 23:17:13 -07:00
function_test_groups.js Code coverage setup on CI (#49003) 2020-01-08 21:08:48 +01:00
jenkins.js Generate docs from data plugin (#56955) 2020-03-10 11:34:06 +02:00
licenses_csv_report.js autofix all violations 2019-12-13 23:17:13 -07:00
test.js fix karma debug typo (#60029) 2020-03-12 13:13:58 -05:00
test_jest.js run jest with --detectOpenHandles on CI to figure out what i… (#58543) 2020-02-27 14:19:24 -07:00
verify_dependency_versions.js autofix all violations 2019-12-13 23:17:13 -07:00