A
A
ajky2017-03-24 16:13:21
JavaScript
ajky, 2017-03-24 16:13:21

How to update SystemJS application?

Surely the files will be cached one way or another, if you change the build on the fly, will it access the cached files, or will it understand that they are already new?
PS If not: will disabling the cache help?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Stroykin, 2017-03-24
@ajky

In angular-cli, when ng build , you can specify ng build --prod and then a random key will be added to the project file names, because of which the browser will not be able to use information from the cache, since the names will be new.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question