Closed BernieSumption closed 4 years ago
In a plunk with multiple files, the main HTML file is served with cache-control: no-cache, but the JS files are served with cache-control: private, max-age=14400. This means that JS files aren't reloaded after being edited.
cache-control: no-cache
cache-control: private, max-age=14400
Reproduction:
http://next.plnkr.co/edit/8TLVIKV0sgPQdthO
main.js
Oops, looks like a duplicate of https://github.com/plnkr/feedback/issues/477
I'll close this and add the explanation to the first issue.
In a plunk with multiple files, the main HTML file is served with
cache-control: no-cache
, but the JS files are served withcache-control: private, max-age=14400
. This means that JS files aren't reloaded after being edited.Reproduction:
http://next.plnkr.co/edit/8TLVIKV0sgPQdthO
main.js
to change the alert message